>>> Building on localhost under games/widelands BDEPENDS = [devel/cmake;devel/asio;devel/sdl2-mixer;devel/gettext,-runtime;devel/sdl2-image;lang/lua/5.1;devel/gettext,-tools;devel/ninja;textproc/icu4c;lang/python/3.10;graphics/glew;graphics/png;devel/sdl2-ttf] DIST = [games/widelands:widelands-1.1.tar.gz] FULLPKGNAME = widelands-1.1p0 RDEPENDS = [devel/sdl2-image;devel/gettext,-runtime;lang/lua/5.1;devel/sdl2-mixer;devel/sdl2-ttf;graphics/png;graphics/glew;devel/desktop-file-utils;x11/gtk+4,-guic;textproc/icu4c] (Junk lock obtained for localhost at 1713259141.95) >>> Running depends in games/widelands at 1713259142.00 last junk was in www/py-CherryPy,python3 /usr/sbin/pkg_add -aI -Drepair asio-1.28.0 gettext-runtime-0.22.5 gettext-tools-0.22.5 glew-2.2.0p0 icu4c-74.2v0 lua-5.1.5p7 png-1.6.43 sdl2-image-2.8.2p0 sdl2-mixer-2.8.0p0 sdl2-ttf-2.22.0 was: /usr/sbin/pkg_add -aI -Drepair asio-1.28.0 cmake-3.28.3v1 gettext-runtime-0.22.5 gettext-tools-0.22.5 glew-2.2.0p0 icu4c-74.2v0 lua-5.1.5p7 ninja-1.11.1 png-1.6.43 python-3.10.13p2 sdl2-image-2.8.2p0 sdl2-mixer-2.8.0p0 sdl2-ttf-2.22.0 /usr/sbin/pkg_add -aI -Drepair asio-1.28.0 gettext-runtime-0.22.5 gettext-tools-0.22.5 glew-2.2.0p0 icu4c-74.2v0 lua-5.1.5p7 png-1.6.43 sdl2-image-2.8.2p0 sdl2-mixer-2.8.0p0 sdl2-ttf-2.22.0 New and changed readme(s): /usr/local/share/doc/pkg-readmes/sdl2 >>> Running show-prepare-results in games/widelands at 1713259183.37 ===> games/widelands ===> Building from scratch widelands-1.1p0 ===> widelands-1.1p0 depends on: asio-* -> asio-1.28.0 ===> widelands-1.1p0 depends on: gettext-tools-* -> gettext-tools-0.22.5 ===> widelands-1.1p0 depends on: cmake-* -> cmake-3.28.3v1 ===> widelands-1.1p0 depends on: ninja-* -> ninja-1.11.1 ===> widelands-1.1p0 depends on: lua->=5.1,<5.2 -> lua-5.1.5p7 ===> widelands-1.1p0 depends on: python->=3.10,<3.11 -> python-3.10.13p2 ===> widelands-1.1p0 depends on: gettext-runtime-* -> gettext-runtime-0.22.5 ===> widelands-1.1p0 depends on: sdl2-image-* -> sdl2-image-2.8.2p0 ===> widelands-1.1p0 depends on: sdl2-mixer-* -> sdl2-mixer-2.8.0p0 ===> widelands-1.1p0 depends on: sdl2-ttf-* -> sdl2-ttf-2.22.0 ===> widelands-1.1p0 depends on: png-* -> png-1.6.43 ===> widelands-1.1p0 depends on: glew-* -> glew-2.2.0p0 ===> widelands-1.1p0 depends on: icu4c-* -> icu4c-74.2v0 ===> Verifying specs: c++ c++abi pthread GL GLEW SDL2 SDL2_image SDL2_mixer SDL2_ttf c execinfo icudata icuuc intl m png z ===> found c++.10.0 c++abi.7.0 pthread.27.1 GL.19.1 GLEW.9.0 SDL2.0.15 SDL2_image.1.1 SDL2_mixer.1.1 SDL2_ttf.0.1 c.99.0 execinfo.3.0 icudata.22.2 icuuc.22.2 intl.8.0 m.10.1 png.18.0 z.7.0 asio-1.28.0 cmake-3.28.3v1 gettext-runtime-0.22.5 gettext-tools-0.22.5 glew-2.2.0p0 icu4c-74.2v0 lua-5.1.5p7 ninja-1.11.1 png-1.6.43 python-3.10.13p2 sdl2-image-2.8.2p0 sdl2-mixer-2.8.0p0 sdl2-ttf-2.22.0 (Junk lock released for localhost at 1713259200.42) Woken up textproc/apertium-dicts/pol distfiles size=416104611 >>> Running patch in games/widelands at 1713259200.49 ===> games/widelands ===> Checking files for widelands-1.1p0 `/ports/distfiles/widelands-1.1.tar.gz' is up to date. >> (SHA256) widelands-1.1.tar.gz: OK ===> Extracting for widelands-1.1p0 ===> Patching for widelands-1.1p0 ===> Applying OpenBSD patch patch-CMakeLists_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |- Don't set -O3. |- Don't install source docs. | |Index: CMakeLists.txt |--- CMakeLists.txt.orig |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 228. Hunk #2 succeeded at 243. Hunk #3 succeeded at 562. done ===> Applying OpenBSD patch patch-cmake_WlFunctions_cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: cmake/WlFunctions.cmake |--- cmake/WlFunctions.cmake.orig |+++ cmake/WlFunctions.cmake -------------------------- Patching file cmake/WlFunctions.cmake using Plan A... Hunk #1 succeeded at 101. done ===> Applying OpenBSD patch patch-src_graphic_texture_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Backport Mesa 23.x fix from upstream. |https://github.com/widelands/widelands/commit/48e5fd48c3f6418ebb53a145177d0417dc96451b |Index: src/graphic/texture.cc |--- src/graphic/texture.cc.orig |+++ src/graphic/texture.cc -------------------------- Patching file src/graphic/texture.cc using Plan A... Hunk #1 succeeded at 116. Hunk #2 succeeded at 129. done ===> Applying OpenBSD patch patch-xdg_CMakeLists_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: xdg/CMakeLists.txt |--- xdg/CMakeLists.txt.orig |+++ xdg/CMakeLists.txt -------------------------- Patching file xdg/CMakeLists.txt using Plan A... Hunk #1 succeeded at 9. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in games/widelands at 1713259381.83 ===> games/widelands ===> Generating configure for widelands-1.1p0 ===> Configuring for widelands-1.1p0 -- The C compiler identification is Clang 16.0.6 -- The CXX compiler identification is Clang 16.0.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /pobj/widelands-1.1/bin/cc - 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: /pobj/widelands-1.1/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using CMake version 3.28.3 -- Building with XDG support -- Picking up default CXX flags: - CMAKE_CXX_FLAGS='-O2 -pipe' - CMAKE_CXX_FLAGS_RELEASE='-DNDEBUG' - CMAKE_CXX_FLAGS_DEBUG='-g' -- Found PythonInterp: /usr/local/bin/python3.10 (found version "3.10.13") -- Found Gettext: /usr/local/bin/msgmerge (found version "0.22.5") -- Found OpenGL: /usr/X11R6/lib/libGL.so.19.1 -- Found ZLIB: /usr/lib/libz.so.7.0 (found version "1.3.1.1") -- Found PNG: /usr/local/lib/libpng.so.18.0 (found version "1.6.43") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found SDL2: /usr/local/lib/libSDL2.so.0.15 (found version "2.30.0") -- Found SDL2main: /usr/local/lib/libSDL2main.a (found version "2.30.0") -- Found SDL2_image: /usr/local/lib/libSDL2_image.so.1.1 (found version "2.8.2") -- Found SDL2_mixer: /usr/local/lib/libSDL2_mixer.so.1.1 (found version "2.8.0") -- Found SDL2_ttf: /usr/local/lib/libSDL2_ttf.so.0.1 (found version "2.22.0") -- Found the following ICU libraries: -- uc (required): /usr/local/lib/libicuuc.so.22.2 -- dt (required): /usr/local/lib/libicudata.so.22.2 -- Found ICU: /usr/local/include (found version "74.2") -- Could NOT find GLEW (missing: GLEW_DIR) -- Found GLEW: /usr/local/include (found version "2.2.0") -- Found Asio in '/usr/local/include'. -- Found Intl: /usr/local/lib/libintl.so.8.0 (found version "0.22.5") -- Not using ThreadSanitizer. -- Not using AddressSanitizer. -- Adding linker flags for GLVND. -- Compiler warnings will be ignored. -- Found Freetype: /usr/X11R6/lib/libfreetype.so.30.3 (found version "2.13.0") -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Found Fontconfig: /usr/X11R6/lib/libfontconfig.so.13.1 (found version "2.14.1") -- Found X11: /usr/X11R6/include -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.so.18.0;/usr/X11R6/lib/libXext.so.13.0 -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.so.18.0;/usr/X11R6/lib/libXext.so.13.0 - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Version of Widelands Build is 1.1 Release Doxygen not found, disabling 'make doc' -- Using embedded minizip libraries -- Link io_filesystem with third_party_minizip CMake Warning at xdg/CMakeLists.txt:26 (message): gtk-update-icon-cache not found! -- Configuring done (138.0s) -- Generating done (22.2s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER_AR CMAKE_ASM_COMPILER_RANLIB CMAKE_Fortran_COMPILER_AR CMAKE_Fortran_COMPILER_RANLIB CMAKE_OBJCXX_COMPILER_AR CMAKE_OBJCXX_COMPILER_RANLIB CMAKE_OBJC_COMPILER_AR CMAKE_OBJC_COMPILER_RANLIB LUA_INCLUDE_DIR LUA_LIBRARY PYTHON_INCLUDE_DIR PYTHON_LIBRARY_DIRS Python3_EXECUTABLE Python3_INCLUDE_DIR Python3_LIBRARY_DIRS Python_EXECUTABLE Python_INCLUDE_DIR Python_LIBRARY_DIRS -- Build files have been written to: /pobj/widelands-1.1/build-mips64 >>> Running build in games/widelands at 1713259557.16 ===> games/widelands ===> Building for widelands-1.1p0 Change Dir: '/pobj/widelands-1.1/build-mips64' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_map_along_the_river.wmf.tmp.po [2/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_map_the_green_plateau.wmf.tmp.po [3/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/ar.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/ar_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/ar_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_maps.tmp.po [4/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_mp_scenario_island_hopping.wmf.tmp.po [5/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_mp_scenario_smugglers.wmf.tmp.po [6/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_atl01.wmf.tmp.po [7/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_atl02.wmf.tmp.po [8/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_bar01.wmf.tmp.po [9/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_bar02.wmf.tmp.po [10/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_dummy.wmf.tmp.po [11/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp01.wmf.tmp.po [12/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp02.wmf.tmp.po [13/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp03.wmf.tmp.po [14/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_emp04.wmf.tmp.po [15/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri01.wmf.tmp.po [16/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri02.wmf.tmp.po [17/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri03.wmf.tmp.po [18/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_fri04.wmf.tmp.po [19/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial01_basic_control.wmf.tmp.po [20/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial02_warfare.wmf.tmp.po [21/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial03_seafaring.wmf.tmp.po [22/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/ar.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_scenario_tutorial04_economy.wmf.tmp.po [23/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/ar.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/ar_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/ar_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_texts.tmp.po [24/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/ar.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/ar_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/ar_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_training_wheels.tmp.po [25/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/ar.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/ar_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/ar_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_tribes.tmp.po [26/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/ar.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/ar_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/ar_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_tribes_encyclopedia.tmp.po [27/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/ar.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/ar_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/ar_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_widelands.tmp.po [28/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/ar.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/ar_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/ar_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_widelands_console.tmp.po [29/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/ar.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/ar_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/ar_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_widelands_editor.tmp.po [30/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/ar.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/ar_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/ar_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_win_conditions.tmp.po [31/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/ar.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/ar_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ar/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/ar_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ar_world.tmp.po [32/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=ar -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [33/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_map_along_the_river.wmf.tmp.po [34/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_map_the_green_plateau.wmf.tmp.po [35/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/bg.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/bg_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/bg_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_maps.tmp.po [36/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_mp_scenario_island_hopping.wmf.tmp.po [37/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_mp_scenario_smugglers.wmf.tmp.po [38/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_atl01.wmf.tmp.po [39/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_atl02.wmf.tmp.po [40/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_bar01.wmf.tmp.po [41/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_bar02.wmf.tmp.po [42/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_dummy.wmf.tmp.po [43/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp01.wmf.tmp.po [44/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp02.wmf.tmp.po [45/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp03.wmf.tmp.po [46/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_emp04.wmf.tmp.po [47/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri01.wmf.tmp.po [48/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri02.wmf.tmp.po [49/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri03.wmf.tmp.po [50/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_fri04.wmf.tmp.po [51/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial01_basic_control.wmf.tmp.po [52/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial02_warfare.wmf.tmp.po [53/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial03_seafaring.wmf.tmp.po [54/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/bg.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_scenario_tutorial04_economy.wmf.tmp.po [55/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/bg.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/bg_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/bg_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_texts.tmp.po [56/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/bg.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/bg_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/bg_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_training_wheels.tmp.po [57/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/bg.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/bg_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/bg_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_tribes.tmp.po [58/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/bg.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/bg_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/bg_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_tribes_encyclopedia.tmp.po [59/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/bg.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/bg_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/bg_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_widelands.tmp.po [60/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/bg.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/bg_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/bg_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_widelands_console.tmp.po [61/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/bg.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/bg_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/bg_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_widelands_editor.tmp.po [62/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/bg.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/bg_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/bg_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_win_conditions.tmp.po [63/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/bg.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/bg_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/bg/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/bg_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/bg_world.tmp.po [64/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=bg -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [65/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_map_along_the_river.wmf.tmp.po [66/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_map_the_green_plateau.wmf.tmp.po [67/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/br.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/br_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/br_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_maps.tmp.po [68/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_mp_scenario_island_hopping.wmf.tmp.po [69/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_mp_scenario_smugglers.wmf.tmp.po [70/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_atl01.wmf.tmp.po [71/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_atl02.wmf.tmp.po [72/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_bar01.wmf.tmp.po [73/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_bar02.wmf.tmp.po [74/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_dummy.wmf.tmp.po [75/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_emp01.wmf.tmp.po [76/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_emp02.wmf.tmp.po [77/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_emp03.wmf.tmp.po [78/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_emp04.wmf.tmp.po [79/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_fri01.wmf.tmp.po [80/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_fri02.wmf.tmp.po [81/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_fri03.wmf.tmp.po [82/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_fri04.wmf.tmp.po [83/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial01_basic_control.wmf.tmp.po [84/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial02_warfare.wmf.tmp.po [85/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial03_seafaring.wmf.tmp.po [86/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/br.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_scenario_tutorial04_economy.wmf.tmp.po [87/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/br.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/br_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/br_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_texts.tmp.po [88/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/br.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/br_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/br_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_training_wheels.tmp.po [89/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/br.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/br_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/br_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_tribes.tmp.po [90/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/br.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/br_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/br_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_tribes_encyclopedia.tmp.po [91/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/br.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/br_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/br_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_widelands.tmp.po [92/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/br.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/br_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/br_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_widelands_console.tmp.po [93/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/br.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/br_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/br_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_widelands_editor.tmp.po [94/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/br.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/br_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/br_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_win_conditions.tmp.po [95/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/br.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/br_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/br/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/br_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/br_world.tmp.po [96/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=br -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [97/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_map_along_the_river.wmf.tmp.po [98/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_map_the_green_plateau.wmf.tmp.po [99/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/ca.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/ca_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/ca_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_maps.tmp.po [100/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_mp_scenario_island_hopping.wmf.tmp.po [101/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_mp_scenario_smugglers.wmf.tmp.po [102/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_atl01.wmf.tmp.po [103/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_atl02.wmf.tmp.po [104/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_bar01.wmf.tmp.po [105/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_bar02.wmf.tmp.po [106/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_dummy.wmf.tmp.po [107/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp01.wmf.tmp.po [108/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp02.wmf.tmp.po [109/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp03.wmf.tmp.po [110/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_emp04.wmf.tmp.po [111/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri01.wmf.tmp.po [112/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri02.wmf.tmp.po [113/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri03.wmf.tmp.po [114/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_fri04.wmf.tmp.po [115/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial01_basic_control.wmf.tmp.po [116/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial02_warfare.wmf.tmp.po [117/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial03_seafaring.wmf.tmp.po [118/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/ca.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_scenario_tutorial04_economy.wmf.tmp.po [119/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/ca.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/ca_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/ca_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_texts.tmp.po [120/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/ca.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/ca_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/ca_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_training_wheels.tmp.po [121/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/ca.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/ca_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/ca_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_tribes.tmp.po [122/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/ca.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/ca_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/ca_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_tribes_encyclopedia.tmp.po [123/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/ca.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/ca_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/ca_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_widelands.tmp.po [124/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/ca.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/ca_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/ca_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_widelands_console.tmp.po [125/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/ca.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/ca_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/ca_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_widelands_editor.tmp.po [126/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/ca.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/ca_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/ca_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_win_conditions.tmp.po [127/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/ca.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/ca_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ca/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/ca_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ca_world.tmp.po [128/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=ca -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [129/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_map_along_the_river.wmf.tmp.po [130/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_map_the_green_plateau.wmf.tmp.po [131/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/cs.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/cs_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/cs_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_maps.tmp.po [132/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_mp_scenario_island_hopping.wmf.tmp.po [133/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_mp_scenario_smugglers.wmf.tmp.po [134/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_atl01.wmf.tmp.po [135/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_atl02.wmf.tmp.po [136/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_bar01.wmf.tmp.po [137/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_bar02.wmf.tmp.po [138/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_dummy.wmf.tmp.po [139/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp01.wmf.tmp.po [140/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp02.wmf.tmp.po [141/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp03.wmf.tmp.po [142/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_emp04.wmf.tmp.po [143/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri01.wmf.tmp.po [144/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri02.wmf.tmp.po [145/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri03.wmf.tmp.po [146/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_fri04.wmf.tmp.po [147/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial01_basic_control.wmf.tmp.po [148/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial02_warfare.wmf.tmp.po [149/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial03_seafaring.wmf.tmp.po [150/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/cs.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_scenario_tutorial04_economy.wmf.tmp.po [151/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/cs.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/cs_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/cs_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_texts.tmp.po [152/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/cs.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/cs_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/cs_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_training_wheels.tmp.po [153/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/cs.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/cs_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/cs_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_tribes.tmp.po [154/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/cs.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/cs_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/cs_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_tribes_encyclopedia.tmp.po [155/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/cs.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/cs_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/cs_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_widelands.tmp.po [156/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/cs.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/cs_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/cs_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_widelands_console.tmp.po [157/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/cs.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/cs_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/cs_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_widelands_editor.tmp.po [158/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/cs.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/cs_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/cs_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_win_conditions.tmp.po [159/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/cs.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/cs_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/cs/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/cs_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/cs_world.tmp.po [160/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=cs -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [161/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_map_along_the_river.wmf.tmp.po [162/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_map_the_green_plateau.wmf.tmp.po [163/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/da.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/da_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/da_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_maps.tmp.po [164/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_mp_scenario_island_hopping.wmf.tmp.po [165/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_mp_scenario_smugglers.wmf.tmp.po [166/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_atl01.wmf.tmp.po [167/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_atl02.wmf.tmp.po [168/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_bar01.wmf.tmp.po [169/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_bar02.wmf.tmp.po [170/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_dummy.wmf.tmp.po [171/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_emp01.wmf.tmp.po [172/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_emp02.wmf.tmp.po [173/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_emp03.wmf.tmp.po [174/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_emp04.wmf.tmp.po [175/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_fri01.wmf.tmp.po [176/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_fri02.wmf.tmp.po [177/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_fri03.wmf.tmp.po [178/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_fri04.wmf.tmp.po [179/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial01_basic_control.wmf.tmp.po [180/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial02_warfare.wmf.tmp.po [181/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial03_seafaring.wmf.tmp.po [182/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/da.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_scenario_tutorial04_economy.wmf.tmp.po [183/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/da.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/da_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/da_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_texts.tmp.po [184/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/da.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/da_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/da_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_training_wheels.tmp.po [185/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/da.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/da_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/da_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_tribes.tmp.po [186/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/da.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/da_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/da_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_tribes_encyclopedia.tmp.po [187/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/da.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/da_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/da_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_widelands.tmp.po [188/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/da.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/da_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/da_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_widelands_console.tmp.po [189/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/da.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/da_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/da_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_widelands_editor.tmp.po [190/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/da.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/da_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/da_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_win_conditions.tmp.po [191/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/da.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/da_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/da/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/da_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/da_world.tmp.po [192/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=da -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [193/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_map_along_the_river.wmf.tmp.po [194/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_map_the_green_plateau.wmf.tmp.po [195/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/de.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/de_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/de_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_maps.tmp.po [196/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_mp_scenario_island_hopping.wmf.tmp.po [197/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_mp_scenario_smugglers.wmf.tmp.po [198/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_atl01.wmf.tmp.po [199/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_atl02.wmf.tmp.po [200/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_bar01.wmf.tmp.po [201/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_bar02.wmf.tmp.po [202/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_dummy.wmf.tmp.po [203/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_emp01.wmf.tmp.po [204/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_emp02.wmf.tmp.po [205/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_emp03.wmf.tmp.po [206/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_emp04.wmf.tmp.po [207/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_fri01.wmf.tmp.po [208/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_fri02.wmf.tmp.po [209/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_fri03.wmf.tmp.po [210/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_fri04.wmf.tmp.po [211/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial01_basic_control.wmf.tmp.po [212/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial02_warfare.wmf.tmp.po [213/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial03_seafaring.wmf.tmp.po [214/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/de.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_scenario_tutorial04_economy.wmf.tmp.po [215/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/de.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/de_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/de_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_texts.tmp.po [216/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/de.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/de_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/de_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_training_wheels.tmp.po [217/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/de.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/de_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/de_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_tribes.tmp.po [218/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/de.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/de_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/de_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_tribes_encyclopedia.tmp.po [219/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/de.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/de_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/de_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_widelands.tmp.po [220/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/de.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/de_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/de_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_widelands_console.tmp.po [221/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/de.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/de_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/de_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_widelands_editor.tmp.po [222/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/de.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/de_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/de_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_win_conditions.tmp.po [223/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/de.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/de_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/de/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/de_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/de_world.tmp.po [224/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=de -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [225/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_map_along_the_river.wmf.tmp.po [226/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_map_the_green_plateau.wmf.tmp.po [227/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/el.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/el_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/el_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_maps.tmp.po [228/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_mp_scenario_island_hopping.wmf.tmp.po [229/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_mp_scenario_smugglers.wmf.tmp.po [230/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_atl01.wmf.tmp.po [231/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_atl02.wmf.tmp.po [232/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_bar01.wmf.tmp.po [233/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_bar02.wmf.tmp.po [234/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_dummy.wmf.tmp.po [235/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_emp01.wmf.tmp.po [236/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_emp02.wmf.tmp.po [237/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_emp03.wmf.tmp.po [238/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_emp04.wmf.tmp.po [239/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_fri01.wmf.tmp.po [240/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_fri02.wmf.tmp.po [241/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_fri03.wmf.tmp.po [242/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_fri04.wmf.tmp.po [243/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial01_basic_control.wmf.tmp.po [244/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial02_warfare.wmf.tmp.po [245/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial03_seafaring.wmf.tmp.po [246/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/el.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_scenario_tutorial04_economy.wmf.tmp.po [247/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/el.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/el_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/el_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_texts.tmp.po [248/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/el.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/el_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/el_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_training_wheels.tmp.po [249/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/el.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/el_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/el_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_tribes.tmp.po [250/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/el.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/el_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/el_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_tribes_encyclopedia.tmp.po [251/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/el.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/el_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/el_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_widelands.tmp.po [252/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/el.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/el_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/el_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_widelands_console.tmp.po [253/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/el.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/el_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/el_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_widelands_editor.tmp.po [254/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/el.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/el_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/el_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_win_conditions.tmp.po [255/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/el.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/el_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/el/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/el_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/el_world.tmp.po [256/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=el -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [257/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_map_along_the_river.wmf.tmp.po [258/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_map_the_green_plateau.wmf.tmp.po [259/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/en_GB_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_maps.tmp.po [260/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_mp_scenario_island_hopping.wmf.tmp.po [261/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_mp_scenario_smugglers.wmf.tmp.po [262/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_atl01.wmf.tmp.po [263/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_atl02.wmf.tmp.po [264/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_bar01.wmf.tmp.po [265/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_bar02.wmf.tmp.po [266/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_dummy.wmf.tmp.po [267/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp01.wmf.tmp.po [268/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp02.wmf.tmp.po [269/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp03.wmf.tmp.po [270/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_emp04.wmf.tmp.po [271/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri01.wmf.tmp.po [272/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri02.wmf.tmp.po [273/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri03.wmf.tmp.po [274/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_fri04.wmf.tmp.po [275/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial01_basic_control.wmf.tmp.po [276/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial02_warfare.wmf.tmp.po [277/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial03_seafaring.wmf.tmp.po [278/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_scenario_tutorial04_economy.wmf.tmp.po [279/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/en_GB_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_texts.tmp.po [280/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/en_GB_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_training_wheels.tmp.po [281/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/en_GB_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_tribes.tmp.po [282/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/en_GB_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_tribes_encyclopedia.tmp.po [283/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/en_GB_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_widelands.tmp.po [284/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/en_GB_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_widelands_console.tmp.po [285/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/en_GB_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_widelands_editor.tmp.po [286/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/en_GB_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_win_conditions.tmp.po [287/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/en_GB.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/en_GB_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_GB/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/en_GB_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_GB_world.tmp.po [288/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=en_GB -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [289/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_map_along_the_river.wmf.tmp.po [290/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_map_the_green_plateau.wmf.tmp.po [291/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/en_US.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/en_US_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_maps.tmp.po [292/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_mp_scenario_island_hopping.wmf.tmp.po [293/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_mp_scenario_smugglers.wmf.tmp.po [294/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_atl01.wmf.tmp.po [295/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_atl02.wmf.tmp.po [296/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_bar01.wmf.tmp.po [297/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_bar02.wmf.tmp.po [298/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_dummy.wmf.tmp.po [299/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp01.wmf.tmp.po [300/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp02.wmf.tmp.po [301/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp03.wmf.tmp.po [302/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_emp04.wmf.tmp.po [303/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri01.wmf.tmp.po [304/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri02.wmf.tmp.po [305/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri03.wmf.tmp.po [306/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_fri04.wmf.tmp.po [307/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial01_basic_control.wmf.tmp.po [308/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial02_warfare.wmf.tmp.po [309/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial03_seafaring.wmf.tmp.po [310/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/en_US.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_scenario_tutorial04_economy.wmf.tmp.po [311/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/en_US.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/en_US_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_texts.tmp.po [312/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/en_US.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/en_US_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_training_wheels.tmp.po [313/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/en_US.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/en_US_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_tribes.tmp.po [314/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/en_US.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/en_US_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_tribes_encyclopedia.tmp.po [315/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/en_US.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/en_US_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_widelands.tmp.po [316/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/en_US.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/en_US_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_widelands_console.tmp.po [317/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/en_US.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/en_US_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_widelands_editor.tmp.po [318/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/en_US.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/en_US_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_win_conditions.tmp.po [319/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/en_US.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/en_US_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/en_US/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/en_US_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/en_US_world.tmp.po [320/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=en_US -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [321/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_map_along_the_river.wmf.tmp.po [322/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_map_the_green_plateau.wmf.tmp.po [323/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/eo.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/eo_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/eo_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_maps.tmp.po [324/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_mp_scenario_island_hopping.wmf.tmp.po [325/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_mp_scenario_smugglers.wmf.tmp.po [326/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_atl01.wmf.tmp.po [327/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_atl02.wmf.tmp.po [328/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_bar01.wmf.tmp.po [329/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_bar02.wmf.tmp.po [330/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_dummy.wmf.tmp.po [331/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp01.wmf.tmp.po [332/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp02.wmf.tmp.po [333/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp03.wmf.tmp.po [334/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_emp04.wmf.tmp.po [335/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri01.wmf.tmp.po [336/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri02.wmf.tmp.po [337/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri03.wmf.tmp.po [338/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_fri04.wmf.tmp.po [339/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial01_basic_control.wmf.tmp.po [340/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial02_warfare.wmf.tmp.po [341/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial03_seafaring.wmf.tmp.po [342/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/eo.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_scenario_tutorial04_economy.wmf.tmp.po [343/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/eo.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/eo_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/eo_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_texts.tmp.po [344/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/eo.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/eo_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/eo_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_training_wheels.tmp.po [345/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/eo.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/eo_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/eo_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_tribes.tmp.po [346/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/eo.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/eo_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/eo_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_tribes_encyclopedia.tmp.po [347/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/eo.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/eo_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/eo_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_widelands.tmp.po [348/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/eo.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/eo_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/eo_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_widelands_console.tmp.po [349/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/eo.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/eo_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/eo_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_widelands_editor.tmp.po [350/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/eo.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/eo_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/eo_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_win_conditions.tmp.po [351/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/eo.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/eo_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eo/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/eo_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eo_world.tmp.po [352/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=eo -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [353/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_map_along_the_river.wmf.tmp.po [354/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_map_the_green_plateau.wmf.tmp.po [355/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/es.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/es_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/es_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_maps.tmp.po [356/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_mp_scenario_island_hopping.wmf.tmp.po [357/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_mp_scenario_smugglers.wmf.tmp.po [358/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_atl01.wmf.tmp.po [359/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_atl02.wmf.tmp.po [360/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_bar01.wmf.tmp.po [361/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_bar02.wmf.tmp.po [362/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_dummy.wmf.tmp.po [363/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_emp01.wmf.tmp.po [364/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_emp02.wmf.tmp.po [365/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_emp03.wmf.tmp.po [366/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_emp04.wmf.tmp.po [367/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_fri01.wmf.tmp.po [368/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_fri02.wmf.tmp.po [369/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_fri03.wmf.tmp.po [370/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_fri04.wmf.tmp.po [371/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial01_basic_control.wmf.tmp.po [372/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial02_warfare.wmf.tmp.po [373/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial03_seafaring.wmf.tmp.po [374/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/es.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_scenario_tutorial04_economy.wmf.tmp.po [375/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/es.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/es_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/es_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_texts.tmp.po [376/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/es.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/es_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/es_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_training_wheels.tmp.po [377/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/es.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/es_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/es_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_tribes.tmp.po [378/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/es.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/es_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/es_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_tribes_encyclopedia.tmp.po [379/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/es.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/es_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/es_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_widelands.tmp.po [380/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/es.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/es_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/es_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_widelands_console.tmp.po [381/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/es.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/es_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/es_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_widelands_editor.tmp.po [382/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/es.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/es_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/es_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_win_conditions.tmp.po [383/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/es.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/es_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/es/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/es_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/es_world.tmp.po [384/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=es -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [385/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_map_along_the_river.wmf.tmp.po [386/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_map_the_green_plateau.wmf.tmp.po [387/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/eu.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/eu_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/eu_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_maps.tmp.po [388/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_mp_scenario_island_hopping.wmf.tmp.po [389/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_mp_scenario_smugglers.wmf.tmp.po [390/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_atl01.wmf.tmp.po [391/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_atl02.wmf.tmp.po [392/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_bar01.wmf.tmp.po [393/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_bar02.wmf.tmp.po [394/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_dummy.wmf.tmp.po [395/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp01.wmf.tmp.po [396/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp02.wmf.tmp.po [397/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp03.wmf.tmp.po [398/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_emp04.wmf.tmp.po [399/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri01.wmf.tmp.po [400/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri02.wmf.tmp.po [401/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri03.wmf.tmp.po [402/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_fri04.wmf.tmp.po [403/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial01_basic_control.wmf.tmp.po [404/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial02_warfare.wmf.tmp.po [405/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial03_seafaring.wmf.tmp.po [406/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/eu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_scenario_tutorial04_economy.wmf.tmp.po [407/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/eu.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/eu_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/eu_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_texts.tmp.po [408/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/eu.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/eu_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/eu_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_training_wheels.tmp.po [409/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/eu.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/eu_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/eu_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_tribes.tmp.po [410/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/eu.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/eu_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/eu_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_tribes_encyclopedia.tmp.po [411/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/eu.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/eu_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/eu_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_widelands.tmp.po [412/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/eu.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/eu_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/eu_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_widelands_console.tmp.po [413/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/eu.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/eu_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/eu_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_widelands_editor.tmp.po [414/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/eu.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/eu_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/eu_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_win_conditions.tmp.po [415/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/eu.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/eu_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/eu/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/eu_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/eu_world.tmp.po [416/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=eu -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [417/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_map_along_the_river.wmf.tmp.po [418/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_map_the_green_plateau.wmf.tmp.po [419/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/fa.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/fa_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/fa_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_maps.tmp.po [420/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_mp_scenario_island_hopping.wmf.tmp.po [421/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_mp_scenario_smugglers.wmf.tmp.po [422/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_atl01.wmf.tmp.po [423/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_atl02.wmf.tmp.po [424/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_bar01.wmf.tmp.po [425/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_bar02.wmf.tmp.po [426/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_dummy.wmf.tmp.po [427/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp01.wmf.tmp.po [428/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp02.wmf.tmp.po [429/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp03.wmf.tmp.po [430/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_emp04.wmf.tmp.po [431/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri01.wmf.tmp.po [432/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri02.wmf.tmp.po [433/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri03.wmf.tmp.po [434/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_fri04.wmf.tmp.po [435/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial01_basic_control.wmf.tmp.po [436/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial02_warfare.wmf.tmp.po [437/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial03_seafaring.wmf.tmp.po [438/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/fa.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_scenario_tutorial04_economy.wmf.tmp.po [439/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/fa.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/fa_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/fa_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_texts.tmp.po [440/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/fa.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/fa_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/fa_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_training_wheels.tmp.po [441/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/fa.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/fa_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/fa_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_tribes.tmp.po [442/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/fa.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/fa_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/fa_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_tribes_encyclopedia.tmp.po [443/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/fa.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/fa_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/fa_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_widelands.tmp.po [444/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/fa.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/fa_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/fa_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_widelands_console.tmp.po [445/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/fa.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/fa_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/fa_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_widelands_editor.tmp.po [446/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/fa.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/fa_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/fa_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_win_conditions.tmp.po [447/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/fa.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/fa_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fa/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/fa_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fa_world.tmp.po [448/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=fa -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [449/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_map_along_the_river.wmf.tmp.po [450/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_map_the_green_plateau.wmf.tmp.po [451/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/fi.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/fi_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/fi_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_maps.tmp.po [452/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_mp_scenario_island_hopping.wmf.tmp.po [453/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_mp_scenario_smugglers.wmf.tmp.po [454/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_atl01.wmf.tmp.po [455/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_atl02.wmf.tmp.po [456/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_bar01.wmf.tmp.po [457/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_bar02.wmf.tmp.po [458/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_dummy.wmf.tmp.po [459/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp01.wmf.tmp.po [460/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp02.wmf.tmp.po [461/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp03.wmf.tmp.po [462/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_emp04.wmf.tmp.po [463/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri01.wmf.tmp.po [464/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri02.wmf.tmp.po [465/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri03.wmf.tmp.po [466/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_fri04.wmf.tmp.po [467/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial01_basic_control.wmf.tmp.po [468/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial02_warfare.wmf.tmp.po [469/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial03_seafaring.wmf.tmp.po [470/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/fi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_scenario_tutorial04_economy.wmf.tmp.po [471/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/fi.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/fi_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/fi_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_texts.tmp.po [472/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/fi.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/fi_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/fi_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_training_wheels.tmp.po [473/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/fi.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/fi_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/fi_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_tribes.tmp.po [474/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/fi.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/fi_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/fi_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_tribes_encyclopedia.tmp.po [475/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/fi.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/fi_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/fi_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_widelands.tmp.po [476/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/fi.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/fi_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/fi_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_widelands_console.tmp.po [477/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/fi.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/fi_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/fi_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_widelands_editor.tmp.po [478/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/fi.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/fi_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/fi_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_win_conditions.tmp.po [479/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/fi.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/fi_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fi/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/fi_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fi_world.tmp.po [480/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=fi -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [481/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_map_along_the_river.wmf.tmp.po [482/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_map_the_green_plateau.wmf.tmp.po [483/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/fr.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/fr_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/fr_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_maps.tmp.po [484/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_mp_scenario_island_hopping.wmf.tmp.po [485/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_mp_scenario_smugglers.wmf.tmp.po [486/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_atl01.wmf.tmp.po [487/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_atl02.wmf.tmp.po [488/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_bar01.wmf.tmp.po [489/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_bar02.wmf.tmp.po [490/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_dummy.wmf.tmp.po [491/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp01.wmf.tmp.po [492/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp02.wmf.tmp.po [493/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp03.wmf.tmp.po [494/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_emp04.wmf.tmp.po [495/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri01.wmf.tmp.po [496/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri02.wmf.tmp.po [497/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri03.wmf.tmp.po [498/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_fri04.wmf.tmp.po [499/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial01_basic_control.wmf.tmp.po [500/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial02_warfare.wmf.tmp.po [501/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial03_seafaring.wmf.tmp.po [502/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/fr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_scenario_tutorial04_economy.wmf.tmp.po [503/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/fr.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/fr_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/fr_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_texts.tmp.po [504/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/fr.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/fr_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/fr_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_training_wheels.tmp.po [505/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/fr.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/fr_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/fr_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_tribes.tmp.po [506/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/fr.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/fr_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/fr_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_tribes_encyclopedia.tmp.po [507/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/fr.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/fr_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/fr_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_widelands.tmp.po [508/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/fr.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/fr_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/fr_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_widelands_console.tmp.po [509/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/fr.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/fr_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/fr_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_widelands_editor.tmp.po [510/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/fr.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/fr_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/fr_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_win_conditions.tmp.po [511/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/fr.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/fr_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fr/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/fr_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fr_world.tmp.po [512/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=fr -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [513/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_map_along_the_river.wmf.tmp.po [514/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_map_the_green_plateau.wmf.tmp.po [515/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/fy.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/fy_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/fy_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_maps.tmp.po [516/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_mp_scenario_island_hopping.wmf.tmp.po [517/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_mp_scenario_smugglers.wmf.tmp.po [518/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_atl01.wmf.tmp.po [519/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_atl02.wmf.tmp.po [520/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_bar01.wmf.tmp.po [521/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_bar02.wmf.tmp.po [522/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_dummy.wmf.tmp.po [523/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp01.wmf.tmp.po [524/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp02.wmf.tmp.po [525/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp03.wmf.tmp.po [526/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_emp04.wmf.tmp.po [527/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri01.wmf.tmp.po [528/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri02.wmf.tmp.po [529/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri03.wmf.tmp.po [530/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_fri04.wmf.tmp.po [531/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial01_basic_control.wmf.tmp.po [532/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial02_warfare.wmf.tmp.po [533/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial03_seafaring.wmf.tmp.po [534/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/fy.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_scenario_tutorial04_economy.wmf.tmp.po [535/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/fy.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/fy_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/fy_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_texts.tmp.po [536/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/fy.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/fy_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/fy_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_training_wheels.tmp.po [537/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/fy.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/fy_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/fy_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_tribes.tmp.po [538/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/fy.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/fy_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/fy_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_tribes_encyclopedia.tmp.po [539/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/fy.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/fy_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/fy_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_widelands.tmp.po [540/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/fy.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/fy_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/fy_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_widelands_console.tmp.po [541/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/fy.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/fy_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/fy_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_widelands_editor.tmp.po [542/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/fy.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/fy_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/fy_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_win_conditions.tmp.po [543/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/fy.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/fy_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/fy/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/fy_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/fy_world.tmp.po [544/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=fy -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [545/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_map_along_the_river.wmf.tmp.po [546/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_map_the_green_plateau.wmf.tmp.po [547/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/ga.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/ga_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/ga_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_maps.tmp.po [548/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_mp_scenario_island_hopping.wmf.tmp.po [549/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_mp_scenario_smugglers.wmf.tmp.po [550/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_atl01.wmf.tmp.po [551/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_atl02.wmf.tmp.po [552/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_bar01.wmf.tmp.po [553/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_bar02.wmf.tmp.po [554/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_dummy.wmf.tmp.po [555/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp01.wmf.tmp.po [556/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp02.wmf.tmp.po [557/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp03.wmf.tmp.po [558/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_emp04.wmf.tmp.po [559/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri01.wmf.tmp.po [560/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri02.wmf.tmp.po [561/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri03.wmf.tmp.po [562/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_fri04.wmf.tmp.po [563/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial01_basic_control.wmf.tmp.po [564/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial02_warfare.wmf.tmp.po [565/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial03_seafaring.wmf.tmp.po [566/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/ga.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_scenario_tutorial04_economy.wmf.tmp.po [567/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/ga.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/ga_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/ga_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_texts.tmp.po [568/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/ga.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/ga_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/ga_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_training_wheels.tmp.po [569/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/ga.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/ga_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/ga_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_tribes.tmp.po [570/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/ga.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/ga_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/ga_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_tribes_encyclopedia.tmp.po [571/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/ga.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/ga_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/ga_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_widelands.tmp.po [572/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/ga.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/ga_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/ga_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_widelands_console.tmp.po [573/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/ga.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/ga_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/ga_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_widelands_editor.tmp.po [574/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/ga.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/ga_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/ga_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_win_conditions.tmp.po [575/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/ga.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/ga_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ga/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/ga_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ga_world.tmp.po [576/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=ga -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [577/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_map_along_the_river.wmf.tmp.po [578/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_map_the_green_plateau.wmf.tmp.po [579/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/gd.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/gd_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/gd_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_maps.tmp.po [580/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_mp_scenario_island_hopping.wmf.tmp.po [581/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_mp_scenario_smugglers.wmf.tmp.po [582/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_atl01.wmf.tmp.po [583/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_atl02.wmf.tmp.po [584/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_bar01.wmf.tmp.po [585/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_bar02.wmf.tmp.po [586/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_dummy.wmf.tmp.po [587/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp01.wmf.tmp.po [588/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp02.wmf.tmp.po [589/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp03.wmf.tmp.po [590/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_emp04.wmf.tmp.po [591/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri01.wmf.tmp.po [592/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri02.wmf.tmp.po [593/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri03.wmf.tmp.po [594/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_fri04.wmf.tmp.po [595/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial01_basic_control.wmf.tmp.po [596/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial02_warfare.wmf.tmp.po [597/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial03_seafaring.wmf.tmp.po [598/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/gd.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_scenario_tutorial04_economy.wmf.tmp.po [599/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/gd.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/gd_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/gd_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_texts.tmp.po [600/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/gd.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/gd_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/gd_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_training_wheels.tmp.po [601/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/gd.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/gd_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/gd_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_tribes.tmp.po [602/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/gd.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/gd_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/gd_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_tribes_encyclopedia.tmp.po [603/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/gd.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/gd_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/gd_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_widelands.tmp.po [604/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/gd.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/gd_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/gd_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_widelands_console.tmp.po [605/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/gd.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/gd_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/gd_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_widelands_editor.tmp.po [606/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/gd.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/gd_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/gd_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_win_conditions.tmp.po [607/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/gd.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/gd_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gd/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/gd_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gd_world.tmp.po [608/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=gd -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [609/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_map_along_the_river.wmf.tmp.po [610/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_map_the_green_plateau.wmf.tmp.po [611/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/gl.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/gl_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/gl_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_maps.tmp.po [612/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_mp_scenario_island_hopping.wmf.tmp.po [613/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_mp_scenario_smugglers.wmf.tmp.po [614/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_atl01.wmf.tmp.po [615/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_atl02.wmf.tmp.po [616/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_bar01.wmf.tmp.po [617/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_bar02.wmf.tmp.po [618/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_dummy.wmf.tmp.po [619/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp01.wmf.tmp.po [620/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp02.wmf.tmp.po [621/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp03.wmf.tmp.po [622/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_emp04.wmf.tmp.po [623/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri01.wmf.tmp.po [624/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri02.wmf.tmp.po [625/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri03.wmf.tmp.po [626/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_fri04.wmf.tmp.po [627/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial01_basic_control.wmf.tmp.po [628/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial02_warfare.wmf.tmp.po [629/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial03_seafaring.wmf.tmp.po [630/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/gl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_scenario_tutorial04_economy.wmf.tmp.po [631/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/gl.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/gl_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/gl_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_texts.tmp.po [632/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/gl.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/gl_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/gl_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_training_wheels.tmp.po [633/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/gl.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/gl_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/gl_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_tribes.tmp.po [634/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/gl.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/gl_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/gl_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_tribes_encyclopedia.tmp.po [635/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/gl.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/gl_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/gl_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_widelands.tmp.po [636/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/gl.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/gl_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/gl_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_widelands_console.tmp.po [637/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/gl.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/gl_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/gl_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_widelands_editor.tmp.po [638/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/gl.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/gl_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/gl_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_win_conditions.tmp.po [639/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/gl.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/gl_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/gl/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/gl_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/gl_world.tmp.po [640/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=gl -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [641/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_map_along_the_river.wmf.tmp.po [642/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_map_the_green_plateau.wmf.tmp.po [643/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/he.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/he_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/he_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_maps.tmp.po [644/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_mp_scenario_island_hopping.wmf.tmp.po [645/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_mp_scenario_smugglers.wmf.tmp.po [646/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_atl01.wmf.tmp.po [647/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_atl02.wmf.tmp.po [648/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_bar01.wmf.tmp.po [649/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_bar02.wmf.tmp.po [650/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_dummy.wmf.tmp.po [651/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_emp01.wmf.tmp.po [652/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_emp02.wmf.tmp.po [653/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_emp03.wmf.tmp.po [654/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_emp04.wmf.tmp.po [655/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_fri01.wmf.tmp.po [656/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_fri02.wmf.tmp.po [657/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_fri03.wmf.tmp.po [658/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_fri04.wmf.tmp.po [659/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial01_basic_control.wmf.tmp.po [660/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial02_warfare.wmf.tmp.po [661/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial03_seafaring.wmf.tmp.po [662/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/he.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_scenario_tutorial04_economy.wmf.tmp.po [663/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/he.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/he_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/he_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_texts.tmp.po [664/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/he.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/he_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/he_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_training_wheels.tmp.po [665/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/he.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/he_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/he_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_tribes.tmp.po [666/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/he.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/he_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/he_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_tribes_encyclopedia.tmp.po [667/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/he.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/he_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/he_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_widelands.tmp.po [668/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/he.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/he_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/he_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_widelands_console.tmp.po [669/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/he.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/he_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/he_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_widelands_editor.tmp.po [670/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/he.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/he_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/he_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_win_conditions.tmp.po [671/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/he.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/he_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/he/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/he_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/he_world.tmp.po [672/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=he -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [673/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_map_along_the_river.wmf.tmp.po [674/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_map_the_green_plateau.wmf.tmp.po [675/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/hi.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/hi_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/hi_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_maps.tmp.po [676/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_mp_scenario_island_hopping.wmf.tmp.po [677/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_mp_scenario_smugglers.wmf.tmp.po [678/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_atl01.wmf.tmp.po [679/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_atl02.wmf.tmp.po [680/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_bar01.wmf.tmp.po [681/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_bar02.wmf.tmp.po [682/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_dummy.wmf.tmp.po [683/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp01.wmf.tmp.po [684/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp02.wmf.tmp.po [685/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp03.wmf.tmp.po [686/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_emp04.wmf.tmp.po [687/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri01.wmf.tmp.po [688/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri02.wmf.tmp.po [689/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri03.wmf.tmp.po [690/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_fri04.wmf.tmp.po [691/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial01_basic_control.wmf.tmp.po [692/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial02_warfare.wmf.tmp.po [693/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial03_seafaring.wmf.tmp.po [694/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/hi.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_scenario_tutorial04_economy.wmf.tmp.po [695/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/hi.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/hi_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/hi_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_texts.tmp.po [696/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/hi.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/hi_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/hi_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_training_wheels.tmp.po [697/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/hi.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/hi_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/hi_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_tribes.tmp.po [698/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/hi.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/hi_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/hi_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_tribes_encyclopedia.tmp.po [699/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/hi.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/hi_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/hi_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_widelands.tmp.po [700/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/hi.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/hi_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/hi_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_widelands_console.tmp.po [701/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/hi.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/hi_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/hi_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_widelands_editor.tmp.po [702/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/hi.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/hi_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/hi_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_win_conditions.tmp.po [703/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/hi.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/hi_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hi/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/hi_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hi_world.tmp.po [704/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=hi -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [705/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_map_along_the_river.wmf.tmp.po [706/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_map_the_green_plateau.wmf.tmp.po [707/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/hr.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/hr_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/hr_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_maps.tmp.po [708/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_mp_scenario_island_hopping.wmf.tmp.po [709/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_mp_scenario_smugglers.wmf.tmp.po [710/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_atl01.wmf.tmp.po [711/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_atl02.wmf.tmp.po [712/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_bar01.wmf.tmp.po [713/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_bar02.wmf.tmp.po [714/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_dummy.wmf.tmp.po [715/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp01.wmf.tmp.po [716/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp02.wmf.tmp.po [717/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp03.wmf.tmp.po [718/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_emp04.wmf.tmp.po [719/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri01.wmf.tmp.po [720/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri02.wmf.tmp.po [721/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri03.wmf.tmp.po [722/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_fri04.wmf.tmp.po [723/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial01_basic_control.wmf.tmp.po [724/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial02_warfare.wmf.tmp.po [725/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial03_seafaring.wmf.tmp.po [726/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/hr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_scenario_tutorial04_economy.wmf.tmp.po [727/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/hr.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/hr_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/hr_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_texts.tmp.po [728/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/hr.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/hr_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/hr_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_training_wheels.tmp.po [729/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/hr.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/hr_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/hr_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_tribes.tmp.po [730/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/hr.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/hr_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/hr_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_tribes_encyclopedia.tmp.po [731/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/hr.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/hr_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/hr_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_widelands.tmp.po [732/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/hr.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/hr_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/hr_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_widelands_console.tmp.po [733/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/hr.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/hr_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/hr_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_widelands_editor.tmp.po [734/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/hr.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/hr_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/hr_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_win_conditions.tmp.po [735/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/hr.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/hr_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hr/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/hr_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hr_world.tmp.po [736/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=hr -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [737/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_map_along_the_river.wmf.tmp.po [738/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_map_the_green_plateau.wmf.tmp.po [739/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/hu.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/hu_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/hu_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_maps.tmp.po [740/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_mp_scenario_island_hopping.wmf.tmp.po [741/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_mp_scenario_smugglers.wmf.tmp.po [742/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_atl01.wmf.tmp.po [743/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_atl02.wmf.tmp.po [744/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_bar01.wmf.tmp.po [745/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_bar02.wmf.tmp.po [746/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_dummy.wmf.tmp.po [747/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp01.wmf.tmp.po [748/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp02.wmf.tmp.po [749/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp03.wmf.tmp.po [750/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_emp04.wmf.tmp.po [751/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri01.wmf.tmp.po [752/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri02.wmf.tmp.po [753/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri03.wmf.tmp.po [754/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_fri04.wmf.tmp.po [755/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial01_basic_control.wmf.tmp.po [756/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial02_warfare.wmf.tmp.po [757/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial03_seafaring.wmf.tmp.po [758/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/hu.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_scenario_tutorial04_economy.wmf.tmp.po [759/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/hu.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/hu_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/hu_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_texts.tmp.po [760/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/hu.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/hu_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/hu_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_training_wheels.tmp.po [761/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/hu.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/hu_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/hu_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_tribes.tmp.po [762/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/hu.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/hu_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/hu_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_tribes_encyclopedia.tmp.po [763/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/hu.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/hu_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/hu_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_widelands.tmp.po [764/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/hu.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/hu_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/hu_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_widelands_console.tmp.po [765/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/hu.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/hu_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/hu_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_widelands_editor.tmp.po [766/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/hu.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/hu_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/hu_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_win_conditions.tmp.po [767/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/hu.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/hu_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/hu/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/hu_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/hu_world.tmp.po [768/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=hu -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [769/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_map_along_the_river.wmf.tmp.po [770/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_map_the_green_plateau.wmf.tmp.po [771/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/id.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/id_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/id_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_maps.tmp.po [772/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_mp_scenario_island_hopping.wmf.tmp.po [773/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_mp_scenario_smugglers.wmf.tmp.po [774/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_atl01.wmf.tmp.po [775/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_atl02.wmf.tmp.po [776/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_bar01.wmf.tmp.po [777/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_bar02.wmf.tmp.po [778/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_dummy.wmf.tmp.po [779/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_emp01.wmf.tmp.po [780/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_emp02.wmf.tmp.po [781/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_emp03.wmf.tmp.po [782/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_emp04.wmf.tmp.po [783/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_fri01.wmf.tmp.po [784/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_fri02.wmf.tmp.po [785/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_fri03.wmf.tmp.po [786/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_fri04.wmf.tmp.po [787/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial01_basic_control.wmf.tmp.po [788/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial02_warfare.wmf.tmp.po [789/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial03_seafaring.wmf.tmp.po [790/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/id.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_scenario_tutorial04_economy.wmf.tmp.po [791/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/id.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/id_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/id_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_texts.tmp.po [792/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/id.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/id_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/id_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_training_wheels.tmp.po [793/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/id.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/id_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/id_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_tribes.tmp.po [794/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/id.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/id_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/id_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_tribes_encyclopedia.tmp.po [795/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/id.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/id_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/id_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_widelands.tmp.po [796/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/id.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/id_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/id_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_widelands_console.tmp.po [797/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/id.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/id_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/id_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_widelands_editor.tmp.po [798/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/id.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/id_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/id_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_win_conditions.tmp.po [799/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/id.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/id_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/id/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/id_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/id_world.tmp.po [800/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=id -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [801/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_map_along_the_river.wmf.tmp.po [802/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_map_the_green_plateau.wmf.tmp.po [803/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/ig.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/ig_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/ig_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_maps.tmp.po [804/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_mp_scenario_island_hopping.wmf.tmp.po [805/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_mp_scenario_smugglers.wmf.tmp.po [806/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_atl01.wmf.tmp.po [807/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_atl02.wmf.tmp.po [808/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_bar01.wmf.tmp.po [809/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_bar02.wmf.tmp.po [810/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_dummy.wmf.tmp.po [811/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp01.wmf.tmp.po [812/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp02.wmf.tmp.po [813/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp03.wmf.tmp.po [814/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_emp04.wmf.tmp.po [815/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri01.wmf.tmp.po [816/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri02.wmf.tmp.po [817/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri03.wmf.tmp.po [818/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_fri04.wmf.tmp.po [819/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial01_basic_control.wmf.tmp.po [820/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial02_warfare.wmf.tmp.po [821/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial03_seafaring.wmf.tmp.po [822/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/ig.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_scenario_tutorial04_economy.wmf.tmp.po [823/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/ig.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/ig_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/ig_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_texts.tmp.po [824/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/ig.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/ig_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/ig_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_training_wheels.tmp.po [825/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/ig.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/ig_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/ig_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_tribes.tmp.po [826/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/ig.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/ig_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/ig_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_tribes_encyclopedia.tmp.po [827/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/ig.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/ig_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/ig_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_widelands.tmp.po [828/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/ig.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/ig_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/ig_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_widelands_console.tmp.po [829/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/ig.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/ig_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/ig_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_widelands_editor.tmp.po [830/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/ig.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/ig_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/ig_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_win_conditions.tmp.po [831/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/ig.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/ig_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ig/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/ig_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ig_world.tmp.po [832/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=ig -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [833/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_map_along_the_river.wmf.tmp.po [834/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_map_the_green_plateau.wmf.tmp.po [835/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/it.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/it_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/it_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_maps.tmp.po [836/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_mp_scenario_island_hopping.wmf.tmp.po [837/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_mp_scenario_smugglers.wmf.tmp.po [838/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_atl01.wmf.tmp.po [839/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_atl02.wmf.tmp.po [840/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_bar01.wmf.tmp.po [841/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_bar02.wmf.tmp.po [842/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_dummy.wmf.tmp.po [843/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_emp01.wmf.tmp.po [844/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_emp02.wmf.tmp.po [845/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_emp03.wmf.tmp.po [846/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_emp04.wmf.tmp.po [847/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_fri01.wmf.tmp.po [848/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_fri02.wmf.tmp.po [849/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_fri03.wmf.tmp.po [850/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_fri04.wmf.tmp.po [851/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial01_basic_control.wmf.tmp.po [852/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial02_warfare.wmf.tmp.po [853/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial03_seafaring.wmf.tmp.po [854/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/it.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_scenario_tutorial04_economy.wmf.tmp.po [855/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/it.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/it_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/it_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_texts.tmp.po [856/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/it.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/it_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/it_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_training_wheels.tmp.po [857/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/it.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/it_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/it_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_tribes.tmp.po [858/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/it.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/it_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/it_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_tribes_encyclopedia.tmp.po [859/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/it.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/it_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/it_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_widelands.tmp.po [860/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/it.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/it_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/it_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_widelands_console.tmp.po [861/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/it.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/it_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/it_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_widelands_editor.tmp.po [862/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/it.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/it_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/it_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_win_conditions.tmp.po [863/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/it.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/it_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/it/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/it_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/it_world.tmp.po [864/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=it -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [865/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_map_along_the_river.wmf.tmp.po [866/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_map_the_green_plateau.wmf.tmp.po [867/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/ja.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/ja_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/ja_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_maps.tmp.po [868/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_mp_scenario_island_hopping.wmf.tmp.po [869/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_mp_scenario_smugglers.wmf.tmp.po [870/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_atl01.wmf.tmp.po [871/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_atl02.wmf.tmp.po [872/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_bar01.wmf.tmp.po [873/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_bar02.wmf.tmp.po [874/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_dummy.wmf.tmp.po [875/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp01.wmf.tmp.po [876/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp02.wmf.tmp.po [877/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp03.wmf.tmp.po [878/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_emp04.wmf.tmp.po [879/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri01.wmf.tmp.po [880/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri02.wmf.tmp.po [881/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri03.wmf.tmp.po [882/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_fri04.wmf.tmp.po [883/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial01_basic_control.wmf.tmp.po [884/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial02_warfare.wmf.tmp.po [885/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial03_seafaring.wmf.tmp.po [886/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/ja.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_scenario_tutorial04_economy.wmf.tmp.po [887/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/ja.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/ja_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/ja_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_texts.tmp.po [888/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/ja.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/ja_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/ja_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_training_wheels.tmp.po [889/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/ja.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/ja_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/ja_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_tribes.tmp.po [890/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/ja.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/ja_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/ja_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_tribes_encyclopedia.tmp.po [891/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/ja.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/ja_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/ja_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_widelands.tmp.po [892/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/ja.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/ja_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/ja_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_widelands_console.tmp.po [893/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/ja.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/ja_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/ja_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_widelands_editor.tmp.po [894/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/ja.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/ja_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/ja_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_win_conditions.tmp.po [895/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/ja.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/ja_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ja/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/ja_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ja_world.tmp.po [896/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=ja -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [897/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_map_along_the_river.wmf.tmp.po [898/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_map_the_green_plateau.wmf.tmp.po [899/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/ka.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/ka_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/ka_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_maps.tmp.po [900/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_mp_scenario_island_hopping.wmf.tmp.po [901/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_mp_scenario_smugglers.wmf.tmp.po [902/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_atl01.wmf.tmp.po [903/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_atl02.wmf.tmp.po [904/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_bar01.wmf.tmp.po [905/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_bar02.wmf.tmp.po [906/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_dummy.wmf.tmp.po [907/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp01.wmf.tmp.po [908/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp02.wmf.tmp.po [909/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp03.wmf.tmp.po [910/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_emp04.wmf.tmp.po [911/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri01.wmf.tmp.po [912/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri02.wmf.tmp.po [913/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri03.wmf.tmp.po [914/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_fri04.wmf.tmp.po [915/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial01_basic_control.wmf.tmp.po [916/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial02_warfare.wmf.tmp.po [917/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial03_seafaring.wmf.tmp.po [918/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/ka.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_scenario_tutorial04_economy.wmf.tmp.po [919/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/ka.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/ka_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/ka_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_texts.tmp.po [920/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/ka.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/ka_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/ka_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_training_wheels.tmp.po [921/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/ka.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/ka_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/ka_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_tribes.tmp.po [922/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/ka.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/ka_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/ka_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_tribes_encyclopedia.tmp.po [923/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/ka.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/ka_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/ka_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_widelands.tmp.po [924/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/ka.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/ka_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/ka_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_widelands_console.tmp.po [925/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/ka.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/ka_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/ka_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_widelands_editor.tmp.po [926/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/ka.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/ka_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/ka_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_win_conditions.tmp.po [927/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/ka.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/ka_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ka/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/ka_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ka_world.tmp.po [928/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=ka -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [929/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_map_along_the_river.wmf.tmp.po [930/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_map_the_green_plateau.wmf.tmp.po [931/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/ko.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/ko_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/ko_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_maps.tmp.po [932/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_mp_scenario_island_hopping.wmf.tmp.po [933/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_mp_scenario_smugglers.wmf.tmp.po [934/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_atl01.wmf.tmp.po [935/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_atl02.wmf.tmp.po [936/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_bar01.wmf.tmp.po [937/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_bar02.wmf.tmp.po [938/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_dummy.wmf.tmp.po [939/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp01.wmf.tmp.po [940/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp02.wmf.tmp.po [941/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp03.wmf.tmp.po [942/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_emp04.wmf.tmp.po [943/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri01.wmf.tmp.po [944/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri02.wmf.tmp.po [945/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri03.wmf.tmp.po [946/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_fri04.wmf.tmp.po [947/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial01_basic_control.wmf.tmp.po [948/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial02_warfare.wmf.tmp.po [949/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial03_seafaring.wmf.tmp.po [950/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/ko.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_scenario_tutorial04_economy.wmf.tmp.po [951/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/ko.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/ko_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/ko_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_texts.tmp.po [952/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/ko.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/ko_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/ko_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_training_wheels.tmp.po [953/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/ko.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/ko_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/ko_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_tribes.tmp.po [954/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/ko.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/ko_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/ko_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_tribes_encyclopedia.tmp.po [955/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/ko.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/ko_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/ko_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_widelands.tmp.po [956/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/ko.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/ko_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/ko_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_widelands_console.tmp.po [957/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/ko.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/ko_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/ko_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_widelands_editor.tmp.po [958/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/ko.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/ko_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/ko_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_win_conditions.tmp.po [959/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/ko.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/ko_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ko/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/ko_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ko_world.tmp.po [960/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=ko -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [961/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_map_along_the_river.wmf.tmp.po [962/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_map_the_green_plateau.wmf.tmp.po [963/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/krl.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/krl_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/krl_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_maps.tmp.po [964/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_mp_scenario_island_hopping.wmf.tmp.po [965/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_mp_scenario_smugglers.wmf.tmp.po [966/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_atl01.wmf.tmp.po [967/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_atl02.wmf.tmp.po [968/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_bar01.wmf.tmp.po [969/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_bar02.wmf.tmp.po [970/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_dummy.wmf.tmp.po [971/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp01.wmf.tmp.po [972/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp02.wmf.tmp.po [973/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp03.wmf.tmp.po [974/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_emp04.wmf.tmp.po [975/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri01.wmf.tmp.po [976/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri02.wmf.tmp.po [977/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri03.wmf.tmp.po [978/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_fri04.wmf.tmp.po [979/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial01_basic_control.wmf.tmp.po [980/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial02_warfare.wmf.tmp.po [981/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial03_seafaring.wmf.tmp.po [982/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/krl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_scenario_tutorial04_economy.wmf.tmp.po [983/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/krl.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/krl_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/krl_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_texts.tmp.po [984/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/krl.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/krl_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/krl_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_training_wheels.tmp.po [985/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/krl.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/krl_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/krl_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_tribes.tmp.po [986/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/krl.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/krl_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/krl_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_tribes_encyclopedia.tmp.po [987/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/krl.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/krl_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/krl_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_widelands.tmp.po [988/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/krl.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/krl_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/krl_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_widelands_console.tmp.po [989/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/krl.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/krl_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/krl_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_widelands_editor.tmp.po [990/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/krl.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/krl_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/krl_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_win_conditions.tmp.po [991/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/krl.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/krl_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/krl/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/krl_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/krl_world.tmp.po [992/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=krl -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [993/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_map_along_the_river.wmf.tmp.po [994/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_map_the_green_plateau.wmf.tmp.po [995/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/la.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/la_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/la_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_maps.tmp.po [996/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_mp_scenario_island_hopping.wmf.tmp.po [997/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_mp_scenario_smugglers.wmf.tmp.po [998/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_atl01.wmf.tmp.po [999/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_atl02.wmf.tmp.po [1000/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_bar01.wmf.tmp.po [1001/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_bar02.wmf.tmp.po [1002/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_dummy.wmf.tmp.po [1003/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_emp01.wmf.tmp.po [1004/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_emp02.wmf.tmp.po [1005/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_emp03.wmf.tmp.po [1006/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_emp04.wmf.tmp.po [1007/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_fri01.wmf.tmp.po [1008/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_fri02.wmf.tmp.po [1009/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_fri03.wmf.tmp.po [1010/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_fri04.wmf.tmp.po [1011/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial01_basic_control.wmf.tmp.po [1012/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial02_warfare.wmf.tmp.po [1013/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial03_seafaring.wmf.tmp.po [1014/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/la.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_scenario_tutorial04_economy.wmf.tmp.po [1015/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/la.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/la_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/la_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_texts.tmp.po [1016/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/la.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/la_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/la_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_training_wheels.tmp.po [1017/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/la.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/la_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/la_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_tribes.tmp.po [1018/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/la.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/la_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/la_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_tribes_encyclopedia.tmp.po [1019/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/la.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/la_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/la_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_widelands.tmp.po [1020/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/la.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/la_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/la_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_widelands_console.tmp.po [1021/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/la.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/la_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/la_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_widelands_editor.tmp.po [1022/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/la.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/la_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/la_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_win_conditions.tmp.po [1023/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/la.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/la_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/la/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/la_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/la_world.tmp.po [1024/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=la -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1025/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_map_along_the_river.wmf.tmp.po [1026/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_map_the_green_plateau.wmf.tmp.po [1027/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/lt.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/lt_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/lt_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_maps.tmp.po [1028/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_mp_scenario_island_hopping.wmf.tmp.po [1029/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_mp_scenario_smugglers.wmf.tmp.po [1030/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_atl01.wmf.tmp.po [1031/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_atl02.wmf.tmp.po [1032/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_bar01.wmf.tmp.po [1033/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_bar02.wmf.tmp.po [1034/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_dummy.wmf.tmp.po [1035/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp01.wmf.tmp.po [1036/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp02.wmf.tmp.po [1037/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp03.wmf.tmp.po [1038/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_emp04.wmf.tmp.po [1039/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri01.wmf.tmp.po [1040/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri02.wmf.tmp.po [1041/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri03.wmf.tmp.po [1042/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_fri04.wmf.tmp.po [1043/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial01_basic_control.wmf.tmp.po [1044/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial02_warfare.wmf.tmp.po [1045/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial03_seafaring.wmf.tmp.po [1046/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/lt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_scenario_tutorial04_economy.wmf.tmp.po [1047/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/lt.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/lt_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/lt_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_texts.tmp.po [1048/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/lt.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/lt_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/lt_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_training_wheels.tmp.po [1049/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/lt.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/lt_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/lt_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_tribes.tmp.po [1050/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/lt.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/lt_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/lt_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_tribes_encyclopedia.tmp.po [1051/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/lt.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/lt_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/lt_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_widelands.tmp.po [1052/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/lt.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/lt_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/lt_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_widelands_console.tmp.po [1053/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/lt.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/lt_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/lt_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_widelands_editor.tmp.po [1054/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/lt.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/lt_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/lt_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_win_conditions.tmp.po [1055/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/lt.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/lt_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/lt/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/lt_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/lt_world.tmp.po [1056/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=lt -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1057/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_map_along_the_river.wmf.tmp.po [1058/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_map_the_green_plateau.wmf.tmp.po [1059/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/ms.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/ms_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/ms_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_maps.tmp.po [1060/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_mp_scenario_island_hopping.wmf.tmp.po [1061/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_mp_scenario_smugglers.wmf.tmp.po [1062/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_atl01.wmf.tmp.po [1063/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_atl02.wmf.tmp.po [1064/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_bar01.wmf.tmp.po [1065/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_bar02.wmf.tmp.po [1066/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_dummy.wmf.tmp.po [1067/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp01.wmf.tmp.po [1068/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp02.wmf.tmp.po [1069/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp03.wmf.tmp.po [1070/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_emp04.wmf.tmp.po [1071/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri01.wmf.tmp.po [1072/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri02.wmf.tmp.po [1073/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri03.wmf.tmp.po [1074/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_fri04.wmf.tmp.po [1075/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial01_basic_control.wmf.tmp.po [1076/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial02_warfare.wmf.tmp.po [1077/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial03_seafaring.wmf.tmp.po [1078/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/ms.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_scenario_tutorial04_economy.wmf.tmp.po [1079/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/ms.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/ms_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/ms_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_texts.tmp.po [1080/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/ms.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/ms_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/ms_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_training_wheels.tmp.po [1081/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/ms.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/ms_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/ms_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_tribes.tmp.po [1082/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/ms.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/ms_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/ms_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_tribes_encyclopedia.tmp.po [1083/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/ms.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/ms_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/ms_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_widelands.tmp.po [1084/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/ms.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/ms_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/ms_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_widelands_console.tmp.po [1085/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/ms.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/ms_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/ms_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_widelands_editor.tmp.po [1086/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/ms.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/ms_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/ms_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_win_conditions.tmp.po [1087/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/ms.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/ms_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ms/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/ms_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ms_world.tmp.po [1088/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=ms -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1089/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_map_along_the_river.wmf.tmp.po [1090/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_map_the_green_plateau.wmf.tmp.po [1091/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/nb.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/nb_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/nb_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_maps.tmp.po [1092/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_mp_scenario_island_hopping.wmf.tmp.po [1093/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_mp_scenario_smugglers.wmf.tmp.po [1094/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_atl01.wmf.tmp.po [1095/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_atl02.wmf.tmp.po [1096/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_bar01.wmf.tmp.po [1097/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_bar02.wmf.tmp.po [1098/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_dummy.wmf.tmp.po [1099/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp01.wmf.tmp.po [1100/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp02.wmf.tmp.po [1101/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp03.wmf.tmp.po [1102/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_emp04.wmf.tmp.po [1103/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri01.wmf.tmp.po [1104/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri02.wmf.tmp.po [1105/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri03.wmf.tmp.po [1106/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_fri04.wmf.tmp.po [1107/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial01_basic_control.wmf.tmp.po [1108/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial02_warfare.wmf.tmp.po [1109/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial03_seafaring.wmf.tmp.po [1110/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/nb.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_scenario_tutorial04_economy.wmf.tmp.po [1111/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/nb.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/nb_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/nb_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_texts.tmp.po [1112/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/nb.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/nb_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/nb_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_training_wheels.tmp.po [1113/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/nb.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/nb_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/nb_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_tribes.tmp.po [1114/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/nb.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/nb_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/nb_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_tribes_encyclopedia.tmp.po [1115/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/nb.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/nb_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/nb_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_widelands.tmp.po [1116/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/nb.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/nb_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/nb_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_widelands_console.tmp.po [1117/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/nb.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/nb_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/nb_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_widelands_editor.tmp.po [1118/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/nb.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/nb_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/nb_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_win_conditions.tmp.po [1119/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/nb.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/nb_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nb/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/nb_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nb_world.tmp.po [1120/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=nb -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1121/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_map_along_the_river.wmf.tmp.po [1122/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_map_the_green_plateau.wmf.tmp.po [1123/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/nds.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/nds_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/nds_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_maps.tmp.po [1124/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_mp_scenario_island_hopping.wmf.tmp.po [1125/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_mp_scenario_smugglers.wmf.tmp.po [1126/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_atl01.wmf.tmp.po [1127/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_atl02.wmf.tmp.po [1128/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_bar01.wmf.tmp.po [1129/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_bar02.wmf.tmp.po [1130/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_dummy.wmf.tmp.po [1131/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp01.wmf.tmp.po [1132/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp02.wmf.tmp.po [1133/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp03.wmf.tmp.po [1134/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_emp04.wmf.tmp.po [1135/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri01.wmf.tmp.po [1136/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri02.wmf.tmp.po [1137/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri03.wmf.tmp.po [1138/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_fri04.wmf.tmp.po [1139/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial01_basic_control.wmf.tmp.po [1140/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial02_warfare.wmf.tmp.po [1141/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial03_seafaring.wmf.tmp.po [1142/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/nds.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_scenario_tutorial04_economy.wmf.tmp.po [1143/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/nds.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/nds_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/nds_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_texts.tmp.po [1144/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/nds.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/nds_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/nds_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_training_wheels.tmp.po [1145/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/nds.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/nds_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/nds_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_tribes.tmp.po [1146/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/nds.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/nds_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/nds_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_tribes_encyclopedia.tmp.po [1147/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/nds.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/nds_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/nds_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_widelands.tmp.po [1148/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/nds.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/nds_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/nds_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_widelands_console.tmp.po [1149/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/nds.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/nds_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/nds_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_widelands_editor.tmp.po [1150/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/nds.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/nds_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/nds_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_win_conditions.tmp.po [1151/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/nds.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/nds_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nds/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/nds_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nds_world.tmp.po [1152/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=nds -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1153/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_map_along_the_river.wmf.tmp.po [1154/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_map_the_green_plateau.wmf.tmp.po [1155/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/nl.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/nl_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/nl_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_maps.tmp.po [1156/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_mp_scenario_island_hopping.wmf.tmp.po [1157/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_mp_scenario_smugglers.wmf.tmp.po [1158/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_atl01.wmf.tmp.po [1159/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_atl02.wmf.tmp.po [1160/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_bar01.wmf.tmp.po [1161/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_bar02.wmf.tmp.po [1162/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_dummy.wmf.tmp.po [1163/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp01.wmf.tmp.po [1164/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp02.wmf.tmp.po [1165/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp03.wmf.tmp.po [1166/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_emp04.wmf.tmp.po [1167/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri01.wmf.tmp.po [1168/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri02.wmf.tmp.po [1169/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri03.wmf.tmp.po [1170/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_fri04.wmf.tmp.po [1171/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial01_basic_control.wmf.tmp.po [1172/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial02_warfare.wmf.tmp.po [1173/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial03_seafaring.wmf.tmp.po [1174/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/nl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_scenario_tutorial04_economy.wmf.tmp.po [1175/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/nl.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/nl_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/nl_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_texts.tmp.po [1176/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/nl.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/nl_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/nl_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_training_wheels.tmp.po [1177/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/nl.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/nl_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/nl_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_tribes.tmp.po [1178/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/nl.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/nl_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/nl_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_tribes_encyclopedia.tmp.po [1179/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/nl.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/nl_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/nl_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_widelands.tmp.po [1180/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/nl.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/nl_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/nl_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_widelands_console.tmp.po [1181/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/nl.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/nl_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/nl_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_widelands_editor.tmp.po [1182/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/nl.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/nl_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/nl_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_win_conditions.tmp.po [1183/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/nl.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/nl_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nl/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/nl_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nl_world.tmp.po [1184/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=nl -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1185/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_map_along_the_river.wmf.tmp.po [1186/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_map_the_green_plateau.wmf.tmp.po [1187/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/nn.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/nn_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/nn_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_maps.tmp.po [1188/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_mp_scenario_island_hopping.wmf.tmp.po [1189/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_mp_scenario_smugglers.wmf.tmp.po [1190/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_atl01.wmf.tmp.po [1191/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_atl02.wmf.tmp.po [1192/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_bar01.wmf.tmp.po [1193/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_bar02.wmf.tmp.po [1194/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_dummy.wmf.tmp.po [1195/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp01.wmf.tmp.po [1196/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp02.wmf.tmp.po [1197/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp03.wmf.tmp.po [1198/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_emp04.wmf.tmp.po [1199/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri01.wmf.tmp.po [1200/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri02.wmf.tmp.po [1201/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri03.wmf.tmp.po [1202/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_fri04.wmf.tmp.po [1203/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial01_basic_control.wmf.tmp.po [1204/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial02_warfare.wmf.tmp.po [1205/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial03_seafaring.wmf.tmp.po [1206/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/nn.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_scenario_tutorial04_economy.wmf.tmp.po [1207/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/nn.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/nn_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/nn_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_texts.tmp.po [1208/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/nn.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/nn_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/nn_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_training_wheels.tmp.po [1209/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/nn.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/nn_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/nn_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_tribes.tmp.po [1210/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/nn.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/nn_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/nn_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_tribes_encyclopedia.tmp.po [1211/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/nn.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/nn_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/nn_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_widelands.tmp.po [1212/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/nn.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/nn_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/nn_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_widelands_console.tmp.po [1213/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/nn.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/nn_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/nn_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_widelands_editor.tmp.po [1214/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/nn.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/nn_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/nn_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_win_conditions.tmp.po [1215/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/nn.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/nn_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/nn/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/nn_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/nn_world.tmp.po [1216/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=nn -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1217/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_map_along_the_river.wmf.tmp.po [1218/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_map_the_green_plateau.wmf.tmp.po [1219/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/pl.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/pl_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/pl_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_maps.tmp.po [1220/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_mp_scenario_island_hopping.wmf.tmp.po [1221/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_mp_scenario_smugglers.wmf.tmp.po [1222/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_atl01.wmf.tmp.po [1223/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_atl02.wmf.tmp.po [1224/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_bar01.wmf.tmp.po [1225/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_bar02.wmf.tmp.po [1226/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_dummy.wmf.tmp.po [1227/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp01.wmf.tmp.po [1228/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp02.wmf.tmp.po [1229/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp03.wmf.tmp.po [1230/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_emp04.wmf.tmp.po [1231/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri01.wmf.tmp.po [1232/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri02.wmf.tmp.po [1233/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri03.wmf.tmp.po [1234/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_fri04.wmf.tmp.po [1235/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial01_basic_control.wmf.tmp.po [1236/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial02_warfare.wmf.tmp.po [1237/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial03_seafaring.wmf.tmp.po [1238/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/pl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_scenario_tutorial04_economy.wmf.tmp.po [1239/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/pl.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/pl_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/pl_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_texts.tmp.po [1240/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/pl.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/pl_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/pl_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_training_wheels.tmp.po [1241/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/pl.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/pl_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/pl_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_tribes.tmp.po [1242/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/pl.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/pl_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/pl_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_tribes_encyclopedia.tmp.po [1243/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/pl.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/pl_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/pl_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_widelands.tmp.po [1244/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/pl.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/pl_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/pl_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_widelands_console.tmp.po [1245/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/pl.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/pl_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/pl_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_widelands_editor.tmp.po [1246/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/pl.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/pl_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/pl_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_win_conditions.tmp.po [1247/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/pl.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/pl_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pl/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/pl_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pl_world.tmp.po [1248/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=pl -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1249/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_map_along_the_river.wmf.tmp.po [1250/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_map_the_green_plateau.wmf.tmp.po [1251/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/pt.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/pt_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/pt_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_maps.tmp.po [1252/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_mp_scenario_island_hopping.wmf.tmp.po [1253/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_mp_scenario_smugglers.wmf.tmp.po [1254/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_atl01.wmf.tmp.po [1255/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_atl02.wmf.tmp.po [1256/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_bar01.wmf.tmp.po [1257/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_bar02.wmf.tmp.po [1258/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_dummy.wmf.tmp.po [1259/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp01.wmf.tmp.po [1260/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp02.wmf.tmp.po [1261/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp03.wmf.tmp.po [1262/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_emp04.wmf.tmp.po [1263/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri01.wmf.tmp.po [1264/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri02.wmf.tmp.po [1265/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri03.wmf.tmp.po [1266/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_fri04.wmf.tmp.po [1267/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial01_basic_control.wmf.tmp.po [1268/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial02_warfare.wmf.tmp.po [1269/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial03_seafaring.wmf.tmp.po [1270/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/pt.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_scenario_tutorial04_economy.wmf.tmp.po [1271/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/pt.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/pt_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/pt_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_texts.tmp.po [1272/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/pt.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/pt_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/pt_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_training_wheels.tmp.po [1273/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/pt.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/pt_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/pt_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_tribes.tmp.po [1274/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/pt.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/pt_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/pt_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_tribes_encyclopedia.tmp.po [1275/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/pt.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/pt_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/pt_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_widelands.tmp.po [1276/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/pt.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/pt_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/pt_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_widelands_console.tmp.po [1277/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/pt.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/pt_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/pt_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_widelands_editor.tmp.po [1278/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/pt.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/pt_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/pt_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_win_conditions.tmp.po [1279/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/pt.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/pt_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/pt_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_world.tmp.po [1280/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=pt -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1281/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_map_along_the_river.wmf.tmp.po [1282/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_map_the_green_plateau.wmf.tmp.po [1283/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_maps.tmp.po [1284/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_mp_scenario_island_hopping.wmf.tmp.po [1285/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_mp_scenario_smugglers.wmf.tmp.po [1286/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_atl01.wmf.tmp.po [1287/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_atl02.wmf.tmp.po [1288/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_bar01.wmf.tmp.po [1289/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_bar02.wmf.tmp.po [1290/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_dummy.wmf.tmp.po [1291/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp01.wmf.tmp.po [1292/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp02.wmf.tmp.po [1293/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp03.wmf.tmp.po [1294/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_emp04.wmf.tmp.po [1295/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri01.wmf.tmp.po [1296/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri02.wmf.tmp.po [1297/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri03.wmf.tmp.po [1298/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_fri04.wmf.tmp.po [1299/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial01_basic_control.wmf.tmp.po [1300/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial02_warfare.wmf.tmp.po [1301/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial03_seafaring.wmf.tmp.po [1302/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_scenario_tutorial04_economy.wmf.tmp.po [1303/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_texts.tmp.po [1304/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_training_wheels.tmp.po [1305/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_tribes.tmp.po [1306/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_tribes_encyclopedia.tmp.po [1307/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_widelands.tmp.po [1308/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_widelands_console.tmp.po [1309/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_widelands_editor.tmp.po [1310/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_win_conditions.tmp.po [1311/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/pt_BR.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/pt_BR_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/pt_BR/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/pt_BR_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/pt_BR_world.tmp.po [1312/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=pt_BR -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1313/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_map_along_the_river.wmf.tmp.po [1314/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_map_the_green_plateau.wmf.tmp.po [1315/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/ro.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/ro_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/ro_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_maps.tmp.po [1316/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_mp_scenario_island_hopping.wmf.tmp.po [1317/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_mp_scenario_smugglers.wmf.tmp.po [1318/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_atl01.wmf.tmp.po [1319/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_atl02.wmf.tmp.po [1320/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_bar01.wmf.tmp.po [1321/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_bar02.wmf.tmp.po [1322/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_dummy.wmf.tmp.po [1323/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp01.wmf.tmp.po [1324/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp02.wmf.tmp.po [1325/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp03.wmf.tmp.po [1326/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_emp04.wmf.tmp.po [1327/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri01.wmf.tmp.po [1328/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri02.wmf.tmp.po [1329/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri03.wmf.tmp.po [1330/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_fri04.wmf.tmp.po [1331/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial01_basic_control.wmf.tmp.po [1332/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial02_warfare.wmf.tmp.po [1333/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial03_seafaring.wmf.tmp.po [1334/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/ro.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_scenario_tutorial04_economy.wmf.tmp.po [1335/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/ro.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/ro_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/ro_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_texts.tmp.po [1336/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/ro.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/ro_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/ro_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_training_wheels.tmp.po [1337/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/ro.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/ro_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/ro_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_tribes.tmp.po [1338/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/ro.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/ro_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/ro_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_tribes_encyclopedia.tmp.po [1339/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/ro.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/ro_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/ro_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_widelands.tmp.po [1340/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/ro.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/ro_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/ro_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_widelands_console.tmp.po [1341/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/ro.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/ro_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/ro_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_widelands_editor.tmp.po [1342/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/ro.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/ro_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/ro_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_win_conditions.tmp.po [1343/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/ro.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/ro_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ro/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/ro_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ro_world.tmp.po [1344/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=ro -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1345/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_map_along_the_river.wmf.tmp.po [1346/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_map_the_green_plateau.wmf.tmp.po [1347/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/ru.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/ru_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/ru_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_maps.tmp.po [1348/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_mp_scenario_island_hopping.wmf.tmp.po [1349/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_mp_scenario_smugglers.wmf.tmp.po [1350/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_atl01.wmf.tmp.po [1351/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_atl02.wmf.tmp.po [1352/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_bar01.wmf.tmp.po [1353/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_bar02.wmf.tmp.po [1354/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_dummy.wmf.tmp.po [1355/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp01.wmf.tmp.po [1356/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp02.wmf.tmp.po [1357/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp03.wmf.tmp.po [1358/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_emp04.wmf.tmp.po [1359/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri01.wmf.tmp.po [1360/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri02.wmf.tmp.po [1361/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri03.wmf.tmp.po [1362/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_fri04.wmf.tmp.po [1363/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial01_basic_control.wmf.tmp.po [1364/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial02_warfare.wmf.tmp.po [1365/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial03_seafaring.wmf.tmp.po [1366/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/ru.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_scenario_tutorial04_economy.wmf.tmp.po [1367/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/ru.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/ru_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/ru_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_texts.tmp.po [1368/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/ru.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/ru_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/ru_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_training_wheels.tmp.po [1369/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/ru.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/ru_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/ru_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_tribes.tmp.po [1370/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/ru.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/ru_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/ru_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_tribes_encyclopedia.tmp.po [1371/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/ru.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/ru_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/ru_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_widelands.tmp.po [1372/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/ru.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/ru_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/ru_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_widelands_console.tmp.po [1373/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/ru.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/ru_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/ru_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_widelands_editor.tmp.po [1374/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/ru.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/ru_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/ru_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_win_conditions.tmp.po [1375/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/ru.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/ru_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/ru/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/ru_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/ru_world.tmp.po [1376/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=ru -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1377/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_map_along_the_river.wmf.tmp.po [1378/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_map_the_green_plateau.wmf.tmp.po [1379/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/sk.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/sk_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/sk_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_maps.tmp.po [1380/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_mp_scenario_island_hopping.wmf.tmp.po [1381/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_mp_scenario_smugglers.wmf.tmp.po [1382/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_atl01.wmf.tmp.po [1383/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_atl02.wmf.tmp.po [1384/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_bar01.wmf.tmp.po [1385/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_bar02.wmf.tmp.po [1386/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_dummy.wmf.tmp.po [1387/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp01.wmf.tmp.po [1388/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp02.wmf.tmp.po [1389/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp03.wmf.tmp.po [1390/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_emp04.wmf.tmp.po [1391/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri01.wmf.tmp.po [1392/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri02.wmf.tmp.po [1393/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri03.wmf.tmp.po [1394/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_fri04.wmf.tmp.po [1395/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial01_basic_control.wmf.tmp.po [1396/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial02_warfare.wmf.tmp.po [1397/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial03_seafaring.wmf.tmp.po [1398/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/sk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_scenario_tutorial04_economy.wmf.tmp.po [1399/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/sk.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/sk_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/sk_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_texts.tmp.po [1400/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/sk.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/sk_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/sk_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_training_wheels.tmp.po [1401/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/sk.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/sk_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/sk_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_tribes.tmp.po [1402/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/sk.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/sk_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/sk_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_tribes_encyclopedia.tmp.po [1403/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/sk.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/sk_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/sk_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_widelands.tmp.po [1404/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/sk.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/sk_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/sk_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_widelands_console.tmp.po [1405/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/sk.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/sk_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/sk_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_widelands_editor.tmp.po [1406/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/sk.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/sk_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/sk_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_win_conditions.tmp.po [1407/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/sk.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/sk_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sk/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/sk_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sk_world.tmp.po [1408/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=sk -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1409/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_map_along_the_river.wmf.tmp.po [1410/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_map_the_green_plateau.wmf.tmp.po [1411/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/sl.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/sl_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/sl_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_maps.tmp.po [1412/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_mp_scenario_island_hopping.wmf.tmp.po [1413/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_mp_scenario_smugglers.wmf.tmp.po [1414/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_atl01.wmf.tmp.po [1415/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_atl02.wmf.tmp.po [1416/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_bar01.wmf.tmp.po [1417/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_bar02.wmf.tmp.po [1418/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_dummy.wmf.tmp.po [1419/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp01.wmf.tmp.po [1420/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp02.wmf.tmp.po [1421/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp03.wmf.tmp.po [1422/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_emp04.wmf.tmp.po [1423/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri01.wmf.tmp.po [1424/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri02.wmf.tmp.po [1425/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri03.wmf.tmp.po [1426/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_fri04.wmf.tmp.po [1427/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial01_basic_control.wmf.tmp.po [1428/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial02_warfare.wmf.tmp.po [1429/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial03_seafaring.wmf.tmp.po [1430/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/sl.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_scenario_tutorial04_economy.wmf.tmp.po [1431/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/sl.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/sl_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/sl_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_texts.tmp.po [1432/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/sl.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/sl_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/sl_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_training_wheels.tmp.po [1433/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/sl.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/sl_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/sl_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_tribes.tmp.po [1434/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/sl.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/sl_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/sl_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_tribes_encyclopedia.tmp.po [1435/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/sl.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/sl_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/sl_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_widelands.tmp.po [1436/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/sl.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/sl_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/sl_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_widelands_console.tmp.po [1437/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/sl.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/sl_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/sl_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_widelands_editor.tmp.po [1438/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/sl.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/sl_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/sl_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_win_conditions.tmp.po [1439/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/sl.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/sl_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sl/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/sl_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sl_world.tmp.po [1440/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=sl -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1441/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_map_along_the_river.wmf.tmp.po [1442/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_map_the_green_plateau.wmf.tmp.po [1443/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/sr.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/sr_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/sr_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_maps.tmp.po [1444/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_mp_scenario_island_hopping.wmf.tmp.po [1445/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_mp_scenario_smugglers.wmf.tmp.po [1446/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_atl01.wmf.tmp.po [1447/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_atl02.wmf.tmp.po [1448/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_bar01.wmf.tmp.po [1449/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_bar02.wmf.tmp.po [1450/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_dummy.wmf.tmp.po [1451/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp01.wmf.tmp.po [1452/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp02.wmf.tmp.po [1453/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp03.wmf.tmp.po [1454/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_emp04.wmf.tmp.po [1455/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri01.wmf.tmp.po [1456/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri02.wmf.tmp.po [1457/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri03.wmf.tmp.po [1458/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_fri04.wmf.tmp.po [1459/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial01_basic_control.wmf.tmp.po [1460/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial02_warfare.wmf.tmp.po [1461/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial03_seafaring.wmf.tmp.po [1462/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/sr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_scenario_tutorial04_economy.wmf.tmp.po [1463/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/sr.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/sr_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/sr_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_texts.tmp.po [1464/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/sr.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/sr_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/sr_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_training_wheels.tmp.po [1465/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/sr.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/sr_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/sr_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_tribes.tmp.po [1466/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/sr.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/sr_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/sr_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_tribes_encyclopedia.tmp.po [1467/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/sr.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/sr_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/sr_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_widelands.tmp.po [1468/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/sr.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/sr_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/sr_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_widelands_console.tmp.po [1469/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/sr.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/sr_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/sr_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_widelands_editor.tmp.po [1470/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/sr.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/sr_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/sr_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_win_conditions.tmp.po [1471/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/sr.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/sr_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/sr_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_world.tmp.po [1472/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=sr -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1473/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_map_along_the_river.wmf.tmp.po [1474/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_map_the_green_plateau.wmf.tmp.po [1475/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_maps.tmp.po [1476/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_mp_scenario_island_hopping.wmf.tmp.po [1477/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_mp_scenario_smugglers.wmf.tmp.po [1478/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_atl01.wmf.tmp.po [1479/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_atl02.wmf.tmp.po [1480/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_bar01.wmf.tmp.po [1481/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_bar02.wmf.tmp.po [1482/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_dummy.wmf.tmp.po [1483/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp01.wmf.tmp.po [1484/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp02.wmf.tmp.po [1485/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp03.wmf.tmp.po [1486/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_emp04.wmf.tmp.po [1487/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri01.wmf.tmp.po [1488/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri02.wmf.tmp.po [1489/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri03.wmf.tmp.po [1490/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_fri04.wmf.tmp.po [1491/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial01_basic_control.wmf.tmp.po [1492/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial02_warfare.wmf.tmp.po [1493/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial03_seafaring.wmf.tmp.po [1494/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_scenario_tutorial04_economy.wmf.tmp.po [1495/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_texts.tmp.po [1496/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_training_wheels.tmp.po [1497/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_tribes.tmp.po [1498/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_tribes_encyclopedia.tmp.po [1499/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_widelands.tmp.po [1500/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_widelands_console.tmp.po [1501/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_widelands_editor.tmp.po [1502/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_win_conditions.tmp.po [1503/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/sr_RS.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/sr_RS_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sr_RS/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/sr_RS_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sr_RS_world.tmp.po [1504/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=sr_RS -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1505/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_map_along_the_river.wmf.tmp.po [1506/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_map_the_green_plateau.wmf.tmp.po [1507/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/sv.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/sv_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/sv_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_maps.tmp.po [1508/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_mp_scenario_island_hopping.wmf.tmp.po [1509/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_mp_scenario_smugglers.wmf.tmp.po [1510/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_atl01.wmf.tmp.po [1511/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_atl02.wmf.tmp.po [1512/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_bar01.wmf.tmp.po [1513/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_bar02.wmf.tmp.po [1514/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_dummy.wmf.tmp.po [1515/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp01.wmf.tmp.po [1516/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp02.wmf.tmp.po [1517/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp03.wmf.tmp.po [1518/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_emp04.wmf.tmp.po [1519/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri01.wmf.tmp.po [1520/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri02.wmf.tmp.po [1521/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri03.wmf.tmp.po [1522/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_fri04.wmf.tmp.po [1523/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial01_basic_control.wmf.tmp.po [1524/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial02_warfare.wmf.tmp.po [1525/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial03_seafaring.wmf.tmp.po [1526/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/sv.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_scenario_tutorial04_economy.wmf.tmp.po [1527/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/sv.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/sv_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/sv_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_texts.tmp.po [1528/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/sv.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/sv_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/sv_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_training_wheels.tmp.po [1529/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/sv.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/sv_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/sv_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_tribes.tmp.po [1530/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/sv.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/sv_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/sv_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_tribes_encyclopedia.tmp.po [1531/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/sv.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/sv_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/sv_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_widelands.tmp.po [1532/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/sv.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/sv_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/sv_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_widelands_console.tmp.po [1533/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/sv.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/sv_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/sv_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_widelands_editor.tmp.po [1534/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/sv.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/sv_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/sv_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_win_conditions.tmp.po [1535/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/sv.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/sv_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/sv/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/sv_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/sv_world.tmp.po [1536/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=sv -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1537/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_map_along_the_river.wmf.tmp.po [1538/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_map_the_green_plateau.wmf.tmp.po [1539/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/tr.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/tr_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/tr_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_maps.tmp.po [1540/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_mp_scenario_island_hopping.wmf.tmp.po [1541/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_mp_scenario_smugglers.wmf.tmp.po [1542/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_atl01.wmf.tmp.po [1543/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_atl02.wmf.tmp.po [1544/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_bar01.wmf.tmp.po [1545/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_bar02.wmf.tmp.po [1546/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_dummy.wmf.tmp.po [1547/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp01.wmf.tmp.po [1548/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp02.wmf.tmp.po [1549/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp03.wmf.tmp.po [1550/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_emp04.wmf.tmp.po [1551/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri01.wmf.tmp.po [1552/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri02.wmf.tmp.po [1553/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri03.wmf.tmp.po [1554/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_fri04.wmf.tmp.po [1555/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial01_basic_control.wmf.tmp.po [1556/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial02_warfare.wmf.tmp.po [1557/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial03_seafaring.wmf.tmp.po [1558/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/tr.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_scenario_tutorial04_economy.wmf.tmp.po [1559/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/tr.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/tr_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/tr_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_texts.tmp.po [1560/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/tr.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/tr_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/tr_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_training_wheels.tmp.po [1561/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/tr.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/tr_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/tr_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_tribes.tmp.po [1562/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tr.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/tr_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/tr_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_tribes_encyclopedia.tmp.po [1563/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/tr.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/tr_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/tr_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_widelands.tmp.po [1564/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/tr.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/tr_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/tr_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_widelands_console.tmp.po [1565/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/tr.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/tr_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/tr_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_widelands_editor.tmp.po [1566/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/tr.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/tr_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/tr_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_win_conditions.tmp.po [1567/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/tr.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/tr_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/tr/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/tr_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/tr_world.tmp.po [1568/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=tr -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1569/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_map_along_the_river.wmf.tmp.po [1570/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_map_the_green_plateau.wmf.tmp.po [1571/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/uk.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/uk_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/uk_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_maps.tmp.po [1572/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_mp_scenario_island_hopping.wmf.tmp.po [1573/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_mp_scenario_smugglers.wmf.tmp.po [1574/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_atl01.wmf.tmp.po [1575/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_atl02.wmf.tmp.po [1576/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_bar01.wmf.tmp.po [1577/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_bar02.wmf.tmp.po [1578/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_dummy.wmf.tmp.po [1579/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp01.wmf.tmp.po [1580/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp02.wmf.tmp.po [1581/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp03.wmf.tmp.po [1582/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_emp04.wmf.tmp.po [1583/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri01.wmf.tmp.po [1584/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri02.wmf.tmp.po [1585/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri03.wmf.tmp.po [1586/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_fri04.wmf.tmp.po [1587/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial01_basic_control.wmf.tmp.po [1588/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial02_warfare.wmf.tmp.po [1589/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial03_seafaring.wmf.tmp.po [1590/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/uk.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_scenario_tutorial04_economy.wmf.tmp.po [1591/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/uk.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/uk_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/uk_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_texts.tmp.po [1592/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/uk.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/uk_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/uk_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_training_wheels.tmp.po [1593/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/uk.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/uk_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/uk_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_tribes.tmp.po [1594/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/uk.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/uk_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/uk_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_tribes_encyclopedia.tmp.po [1595/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/uk.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/uk_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/uk_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_widelands.tmp.po [1596/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/uk.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/uk_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/uk_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_widelands_console.tmp.po [1597/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/uk.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/uk_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/uk_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_widelands_editor.tmp.po [1598/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/uk.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/uk_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/uk_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_win_conditions.tmp.po [1599/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/uk.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/uk_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/uk/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/uk_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/uk_world.tmp.po [1600/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=uk -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1601/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_map_along_the_river.wmf.tmp.po [1602/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_map_the_green_plateau.wmf.tmp.po [1603/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_maps.tmp.po [1604/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_mp_scenario_island_hopping.wmf.tmp.po [1605/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_mp_scenario_smugglers.wmf.tmp.po [1606/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_atl01.wmf.tmp.po [1607/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_atl02.wmf.tmp.po [1608/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_bar01.wmf.tmp.po [1609/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_bar02.wmf.tmp.po [1610/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_dummy.wmf.tmp.po [1611/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp01.wmf.tmp.po [1612/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp02.wmf.tmp.po [1613/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp03.wmf.tmp.po [1614/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_emp04.wmf.tmp.po [1615/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri01.wmf.tmp.po [1616/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri02.wmf.tmp.po [1617/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri03.wmf.tmp.po [1618/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_fri04.wmf.tmp.po [1619/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial01_basic_control.wmf.tmp.po [1620/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial02_warfare.wmf.tmp.po [1621/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial03_seafaring.wmf.tmp.po [1622/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_scenario_tutorial04_economy.wmf.tmp.po [1623/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_texts.tmp.po [1624/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_training_wheels.tmp.po [1625/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_tribes.tmp.po [1626/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_tribes_encyclopedia.tmp.po [1627/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_widelands.tmp.po [1628/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_widelands_console.tmp.po [1629/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_widelands_editor.tmp.po [1630/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_win_conditions.tmp.po [1631/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/zh_CN.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/zh_CN_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_CN/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/zh_CN_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_CN_world.tmp.po [1632/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=zh_CN -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1633/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/map_along_the_river.wmf/map_along_the_river.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_map_along_the_river.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/map_along_the_river.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_map_along_the_river.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_map_along_the_river.wmf.tmp.po [1634/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/map_the_green_plateau.wmf/map_the_green_plateau.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_map_the_green_plateau.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/map_the_green_plateau.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_map_the_green_plateau.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_map_the_green_plateau.wmf.tmp.po [1635/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/maps/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/maps/maps.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_maps.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/maps.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_maps.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_maps.tmp.po [1636/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_island_hopping.wmf/mp_scenario_island_hopping.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_mp_scenario_island_hopping.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/mp_scenario_island_hopping.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_mp_scenario_island_hopping.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_mp_scenario_island_hopping.wmf.tmp.po [1637/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/mp_scenario_smugglers.wmf/mp_scenario_smugglers.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_mp_scenario_smugglers.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/mp_scenario_smugglers.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_mp_scenario_smugglers.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_mp_scenario_smugglers.wmf.tmp.po [1638/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl01.wmf/scenario_atl01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_atl01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_atl01.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_atl01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_atl01.wmf.tmp.po [1639/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_atl02.wmf/scenario_atl02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_atl02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_atl02.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_atl02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_atl02.wmf.tmp.po [1640/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar01.wmf/scenario_bar01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_bar01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_bar01.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_bar01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_bar01.wmf.tmp.po [1641/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_bar02.wmf/scenario_bar02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_bar02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_bar02.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_bar02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_bar02.wmf.tmp.po [1642/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_dummy.wmf/scenario_dummy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_dummy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_dummy.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_dummy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_dummy.wmf.tmp.po [1643/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp01.wmf/scenario_emp01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_emp01.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp01.wmf.tmp.po [1644/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp02.wmf/scenario_emp02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_emp02.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp02.wmf.tmp.po [1645/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp03.wmf/scenario_emp03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_emp03.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp03.wmf.tmp.po [1646/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_emp04.wmf/scenario_emp04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_emp04.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_emp04.wmf.tmp.po [1647/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri01.wmf/scenario_fri01.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri01.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_fri01.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri01.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri01.wmf.tmp.po [1648/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri02.wmf/scenario_fri02.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri02.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_fri02.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri02.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri02.wmf.tmp.po [1649/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri03.wmf/scenario_fri03.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri03.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_fri03.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri03.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri03.wmf.tmp.po [1650/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_fri04.wmf/scenario_fri04.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri04.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_fri04.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri04.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_fri04.wmf.tmp.po [1651/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial01_basic_control.wmf/scenario_tutorial01_basic_control.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial01_basic_control.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_tutorial01_basic_control.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial01_basic_control.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial01_basic_control.wmf.tmp.po [1652/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial02_warfare.wmf/scenario_tutorial02_warfare.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial02_warfare.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_tutorial02_warfare.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial02_warfare.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial02_warfare.wmf.tmp.po [1653/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial03_seafaring.wmf/scenario_tutorial03_seafaring.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial03_seafaring.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_tutorial03_seafaring.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial03_seafaring.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial03_seafaring.wmf.tmp.po [1654/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/scenario_tutorial04_economy.wmf/scenario_tutorial04_economy.wmf.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial04_economy.wmf.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/scenario_tutorial04_economy.wmf.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial04_economy.wmf.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_scenario_tutorial04_economy.wmf.tmp.po [1655/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/texts/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/texts/texts.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_texts.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/texts.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_texts.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_texts.tmp.po [1656/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/training_wheels/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/training_wheels/training_wheels.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_training_wheels.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/training_wheels.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_training_wheels.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_training_wheels.tmp.po [1657/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/tribes/tribes.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_tribes.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/tribes.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_tribes.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_tribes.tmp.po [1658/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/tribes_encyclopedia/tribes_encyclopedia.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_tribes_encyclopedia.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/tribes_encyclopedia.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_tribes_encyclopedia.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_tribes_encyclopedia.tmp.po [1659/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/widelands/widelands.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_widelands.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/widelands.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_widelands.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_widelands.tmp.po [1660/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_console/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/widelands_console/widelands_console.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_widelands_console.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/widelands_console.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_widelands_console.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_widelands_console.tmp.po [1661/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/widelands_editor/widelands_editor.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_widelands_editor.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/widelands_editor.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_widelands_editor.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_widelands_editor.tmp.po [1662/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/win_conditions/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/win_conditions/win_conditions.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_win_conditions.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/win_conditions.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_win_conditions.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_win_conditions.tmp.po [1663/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -E make_directory /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES && /usr/local/bin/msgmerge -q --no-wrap /pobj/widelands-1.1/widelands-1.1/po/world/zh_TW.po /pobj/widelands-1.1/widelands-1.1/po/world/world.pot -o /pobj/widelands-1.1/build-mips64/po/zh_TW_world.tmp.po && /usr/local/bin/msgfmt -o /pobj/widelands-1.1/build-mips64/locale/zh_TW/LC_MESSAGES/world.mo /pobj/widelands-1.1/build-mips64/po/zh_TW_world.tmp.po && cmake -E remove /pobj/widelands-1.1/build-mips64/po/zh_TW_world.tmp.po [1664/2312] cd /pobj/widelands-1.1/build-mips64/po && cmake -Dlang=zh_TW -Dpobasedir=/pobj/widelands-1.1/widelands-1.1/po -Dlocalebasedir=/pobj/widelands-1.1/build-mips64/locale -P /pobj/widelands-1.1/widelands-1.1/po/CheckLocale.cmake [1665/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/CMakeFiles/build_info.dir/build_info.cc.o -MF src/CMakeFiles/build_info.dir/build_info.cc.o.d -o src/CMakeFiles/build_info.dir/build_info.cc.o -c /pobj/widelands-1.1/build-mips64/src/build_info.cc [1666/2312] : && /usr/local/bin/cmake -E rm -f src/libbuild_info.a && /usr/bin/ar qc src/libbuild_info.a src/CMakeFiles/build_info.dir/build_info.cc.o && /usr/bin/ranlib src/libbuild_info.a && : [1667/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/CMakeFiles/widelands.dir/main.cc.o -MF src/CMakeFiles/widelands.dir/main.cc.o.d -o src/CMakeFiles/widelands.dir/main.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/main.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/main.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/main.cc:32: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. [1668/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/CMakeFiles/widelands_ball_of_mud.dir/wlapplication.cc.o -MF src/CMakeFiles/widelands_ball_of_mud.dir/wlapplication.cc.o.d -o src/CMakeFiles/widelands_ball_of_mud.dir/wlapplication.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:19: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:40: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:40: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:50: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:50: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:50: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:50: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:50: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:50: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:87: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:590:9: warning: 'color' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* color; ~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:593:5: note: used in pointer arithmetic here ++color; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:595:5: note: used in pointer arithmetic here ++color; ^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:50: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:599:33: note: used in buffer access here settings->set_player_color(p, kPlayerColors[p]); ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:1249:80: warning: 'argv' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void WLApplication::parse_commandline(int const argc, char const* const* const argv) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /pobj/widelands-1.1/widelands-1.1/src/wlapplication.cc:1251:21: note: used in buffer access here std::string opt = argv[i]; ^~~~ 83 warnings generated. [1669/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/CMakeFiles/widelands_ball_of_mud.dir/wlapplication_messages.cc.o -MF src/CMakeFiles/widelands_ball_of_mud.dir/wlapplication_messages.cc.o.d -o src/CMakeFiles/widelands_ball_of_mud.dir/wlapplication_messages.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wlapplication_messages.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication_messages.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication_messages.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1670/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/CMakeFiles/widelands_options.dir/wlapplication_options.cc.o -MF src/CMakeFiles/widelands_options.dir/wlapplication_options.cc.o.d -o src/CMakeFiles/widelands_options.dir/wlapplication_options.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wlapplication_options.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication_options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication_options.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication_options.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1671/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/CMakeFiles/widelands_options.dir/wlapplication_mousewheel_options.cc.o -MF src/CMakeFiles/widelands_options.dir/wlapplication_mousewheel_options.cc.o.d -o src/CMakeFiles/widelands_options.dir/wlapplication_mousewheel_options.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wlapplication_mousewheel_options.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication_mousewheel_options.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/wlapplication_options.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1672/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_minizip.dir/minizip/unzip.cc.o -MF src/third_party/CMakeFiles/third_party_minizip.dir/minizip/unzip.cc.o.d -o src/third_party/CMakeFiles/third_party_minizip.dir/minizip/unzip.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/minizip/unzip.cc [1673/2312] : && /usr/local/bin/cmake -E rm -f src/third_party/libthird_party_minizip.a && /usr/bin/ar qc src/third_party/libthird_party_minizip.a src/third_party/CMakeFiles/third_party_minizip.dir/minizip/unzip.cc.o && /usr/bin/ranlib src/third_party/libthird_party_minizip.a && : [1674/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_sha1.dir/sha1/sha1.cc.o -MF src/third_party/CMakeFiles/third_party_sha1.dir/sha1/sha1.cc.o.d -o src/third_party/CMakeFiles/third_party_sha1.dir/sha1/sha1.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/sha1/sha1.cc [1675/2312] : && /usr/local/bin/cmake -E rm -f src/third_party/libthird_party_sha1.a && /usr/bin/ar qc src/third_party/libthird_party_sha1.a src/third_party/CMakeFiles/third_party_sha1.dir/sha1/sha1.cc.o && /usr/bin/ranlib src/third_party/libthird_party_sha1.a && : [1676/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/eris.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/eris.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/eris.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/eris.c [1677/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lapi.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lapi.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lapi.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lapi.c [1678/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lauxlib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lauxlib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lauxlib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lauxlib.c [1679/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lbaselib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lbaselib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lbaselib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lbaselib.c [1680/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lbitlib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lbitlib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lbitlib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lbitlib.c [1681/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lcode.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lcode.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lcode.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lcode.c [1682/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lcorolib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lcorolib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lcorolib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lcorolib.c [1683/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lctype.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lctype.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lctype.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lctype.c [1684/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/ldblib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/ldblib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/ldblib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/ldblib.c [1685/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/ldebug.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/ldebug.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/ldebug.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/ldebug.c [1686/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/ldo.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/ldo.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/ldo.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/ldo.c [1687/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/ldump.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/ldump.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/ldump.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/ldump.c [1688/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lfunc.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lfunc.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lfunc.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lfunc.c [1689/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lgc.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lgc.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lgc.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lgc.c [1690/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/linit.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/linit.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/linit.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/linit.c [1691/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/liolib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/liolib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/liolib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/liolib.c [1692/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/llex.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/llex.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/llex.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/llex.c [1693/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lmathlib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lmathlib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lmathlib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lmathlib.c [1694/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lmem.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lmem.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lmem.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lmem.c [1695/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/loadlib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/loadlib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/loadlib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/loadlib.c [1696/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lobject.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lobject.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lobject.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lobject.c [1697/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lopcodes.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lopcodes.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lopcodes.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lopcodes.c [1698/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/loslib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/loslib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/loslib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/loslib.c [1699/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lparser.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lparser.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lparser.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lparser.c [1700/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lstate.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lstate.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lstate.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lstate.c [1701/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lstring.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lstring.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lstring.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lstring.c [1702/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lstrlib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lstrlib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lstrlib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lstrlib.c [1703/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/ltable.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/ltable.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/ltable.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/ltable.c [1704/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/ltablib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/ltablib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/ltablib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/ltablib.c [1705/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/ltm.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/ltm.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/ltm.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/ltm.c [1706/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lua.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lua.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lua.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lua.c [1707/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/luac.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/luac.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/luac.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/luac.c [1708/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lundump.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lundump.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lundump.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lundump.c [1709/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lutf8lib.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lutf8lib.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lutf8lib.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lutf8lib.c [1710/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lvm.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lvm.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lvm.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lvm.c [1711/2312] /pobj/widelands-1.1/bin/cc -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_eris.dir/eris/lzio.c.o -MF src/third_party/CMakeFiles/third_party_eris.dir/eris/lzio.c.o.d -o src/third_party/CMakeFiles/third_party_eris.dir/eris/lzio.c.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/eris/lzio.c [1712/2312] : && /usr/local/bin/cmake -E rm -f src/third_party/libthird_party_eris.a && /usr/bin/ar qc src/third_party/libthird_party_eris.a src/third_party/CMakeFiles/third_party_eris.dir/eris/eris.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lapi.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lauxlib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lbaselib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lbitlib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lcode.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lcorolib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lctype.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/ldblib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/ldebug.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/ldo.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/ldump.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lfunc.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lgc.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/linit.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/liolib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/llex.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lmathlib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lmem.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/loadlib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lobject.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lopcodes.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/loslib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lparser.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lstate.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lstring.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lstrlib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/ltable.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/ltablib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/ltm.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lua.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/luac.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lundump.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lutf8lib.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lvm.c.o src/third_party/CMakeFiles/third_party_eris.dir/eris/lzio.c.o && /usr/bin/ranlib src/third_party/libthird_party_eris.a && : [1713/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -w -MD -MT src/third_party/CMakeFiles/third_party_gettext.dir/gettext/dummy_gettext.cc.o -MF src/third_party/CMakeFiles/third_party_gettext.dir/gettext/dummy_gettext.cc.o.d -o src/third_party/CMakeFiles/third_party_gettext.dir/gettext/dummy_gettext.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/dummy_gettext.cc [1714/2312] : && /usr/local/bin/cmake -E rm -f src/third_party/libthird_party_gettext.a && /usr/bin/ar qc src/third_party/libthird_party_gettext.a src/third_party/CMakeFiles/third_party_gettext.dir/gettext/dummy_gettext.cc.o && /usr/bin/ranlib src/third_party/libthird_party_gettext.a && : [1715/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ai/CMakeFiles/ai_hints.dir/ai_hints.cc.o -MF src/ai/CMakeFiles/ai_hints.dir/ai_hints.cc.o.d -o src/ai/CMakeFiles/ai_hints.dir/ai_hints.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1716/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ai/CMakeFiles/ai.dir/ai_help_structs.cc.o -MF src/ai/CMakeFiles/ai.dir/ai_help_structs.cc.o.d -o src/ai/CMakeFiles/ai.dir/ai_help_structs.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:33: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:508:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] results[i] = weight * neuron_curves[type][i] / kNeuronWeightLimit; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:515:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] return results[pos]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:529:19: warning: unsafe buffer access [-Wunsafe-buffer-usage] return std::abs(results[pos]); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:531:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] return results[pos]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:794:11: warning: 'mutation_stat' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] uint16_t mutation_stat[3] = {}; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:897:15: note: used in buffer access here mutation_stat[kMilitaryNumbersPos], mutation_stat[kNeuronsPos], ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:71:34: note: expanded from macro 'verb_log_dbg' do_log(LogType::kDebug, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:887:7: note: used in buffer access here ++mutation_stat[kFNeuronsPos]; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:897:51: note: used in buffer access here mutation_stat[kMilitaryNumbersPos], mutation_stat[kNeuronsPos], ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:71:34: note: expanded from macro 'verb_log_dbg' do_log(LogType::kDebug, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:815:7: note: used in buffer access here ++mutation_stat[kMilitaryNumbersPos]; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:898:15: note: used in buffer access here mutation_stat[kFNeuronsPos]); ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:71:34: note: expanded from macro 'verb_log_dbg' do_log(LogType::kDebug, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.cc:847:7: note: used in buffer access here ++mutation_stat[kNeuronsPos]; ^~~~~~~~~~~~~ 86 warnings generated. [1717/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ai/CMakeFiles/ai.dir/computer_player.cc.o -MF src/ai/CMakeFiles/ai.dir/computer_player.cc.o.d -o src/ai/CMakeFiles/ai.dir/computer_player.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:33: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 81 warnings generated. [1718/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ai/CMakeFiles/ai.dir/defaultai_seafaring.cc.o -MF src/ai/CMakeFiles/ai.dir/defaultai_seafaring.cc.o.d -o src/ai/CMakeFiles/ai.dir/defaultai_seafaring.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_seafaring.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:33: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 81 warnings generated. [1719/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ai/CMakeFiles/ai.dir/defaultai_warfare.cc.o -MF src/ai/CMakeFiles/ai.dir/defaultai_warfare.cc.o.d -o src/ai/CMakeFiles/ai.dir/defaultai_warfare.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:33: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:33:11: warning: variable 'plr_in_game' set but not used [-Wunused-but-set-variable] uint32_t plr_in_game = 0; ^ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:316:20: warning: 'inputs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static int16_t inputs[4 * kFNeuronBitSize] = {0}; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:519:11: note: used in buffer access here if (inputs[j + 2 * kFNeuronBitSize] < -10 || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:398:5: note: used in buffer access here inputs[38] = (gametime < Time(25 * 60 * 1000)) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:512:48: note: used in buffer access here if (inputs[j + kFNeuronBitSize] < -10 || inputs[j + kFNeuronBitSize] > 10) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:418:5: note: used in buffer access here inputs[50] = soldier_trained_log.count(gametime); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:475:5: note: used in buffer access here inputs[99] = (observer.second.enemy_military_sites_in_region > 2) ? 2 : 6; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:425:5: note: used in buffer access here inputs[57] = (my_to_enemy_power_ratio > 100) ? 2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:472:5: note: used in buffer access here inputs[94] = ((gametime - last_attack_time_) < kCampaignDuration) ? +2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:473:5: note: used in buffer access here inputs[95] = ((gametime - last_attack_time_) < kCampaignDuration) ? +2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:494:5: note: used in buffer access here inputs[109] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:327:5: note: used in buffer access here inputs[4] = (observer.second.attack_soldiers_competency > 15) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:424:5: note: used in buffer access here inputs[56] = (my_to_enemy_power_ratio > 90) ? 2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:352:5: note: used in buffer access here inputs[16] = (player_statistics.get_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:341:5: note: used in buffer access here inputs[96] = (soldier_status_ == SoldiersStatus::kBadShortage) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:468:5: note: used in buffer access here inputs[90] = (observer.second.attack_soldiers_strength < 5) ? -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:481:5: note: used in buffer access here inputs[105] = (observer.second.enemy_military_presence_in_region > 15) ? -6 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:452:5: note: used in buffer access here inputs[83] = (soldier_status_ == SoldiersStatus::kBadShortage || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:506:30: note: used in buffer access here if (inputs[j] < -10 || inputs[j] > 10) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:351:5: note: used in buffer access here inputs[15] = (strong_enough) ? 3 : -3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:380:5: note: used in buffer access here inputs[26] = management_data.get_military_number_at(62) / 10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:401:5: note: used in buffer access here inputs[41] = (gametime < Time(40 * 60 * 1000)) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:497:5: note: used in buffer access here inputs[110] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:505:32: note: used in buffer access here observer.second.score += inputs[j]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:402:5: note: used in buffer access here inputs[42] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:337:5: note: used in buffer access here inputs[8] = (soldier_status_ == SoldiersStatus::kBadShortage || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:349:5: note: used in buffer access here inputs[13] = (owner_number == persistent_data->last_attacked_player) ? 4 : -4; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:379:5: note: used in buffer access here inputs[25] = (my_to_enemy_power_ratio > 120) ? 2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:432:5: note: used in buffer access here inputs[64] = (enemys_power_growth > 105) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:527:11: note: used in buffer access here if (inputs[j + 3 * kFNeuronBitSize] < -10 || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:480:5: note: used in buffer access here inputs[104] = (observer.second.enemy_military_presence_in_region > 10) ? -1 : 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:346:5: note: used in buffer access here inputs[10] = (observer.second.mines_nearby == ExtendedBool::kTrue) ? 3 : -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:526:32: note: used in buffer access here observer.second.score += inputs[j + 3 * kFNeuronBitSize]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:445:5: note: used in buffer access here inputs[77] = (own_power_growth < 90) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:395:5: note: used in buffer access here inputs[35] = -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:528:11: note: used in buffer access here inputs[j + 3 * kFNeuronBitSize] > 10) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:446:5: note: used in buffer access here inputs[97] = (own_power_growth < 85) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:476:5: note: used in buffer access here inputs[100] = (observer.second.enemy_military_sites_in_region > 4) ? 1 : 3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:522:26: note: used in buffer access here inputs[j + 2 * kFNeuronBitSize]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:322:5: note: used in buffer access here inputs[1] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:350:5: note: used in buffer access here inputs[14] = (strong_enough) ? 1 : -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:412:5: note: used in buffer access here inputs[47] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:388:5: note: used in buffer access here inputs[31] = (player_statistics.get_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:416:5: note: used in buffer access here inputs[49] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:410:5: note: used in buffer access here inputs[46] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:347:5: note: used in buffer access here inputs[11] = (observer.second.mines_nearby == ExtendedBool::kTrue) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:470:5: note: used in buffer access here inputs[92] = (observer.second.attack_soldiers_competency < 15) ? -4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:364:5: note: used in buffer access here inputs[19] = (player_statistics.get_visible_enemies_power(gametime) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:377:5: note: used in buffer access here inputs[23] = (my_to_enemy_power_ratio > 90) ? 2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:448:5: note: used in buffer access here inputs[79] = ((gametime - last_attack_time_) < kCampaignDuration) ? +2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:467:5: note: used in buffer access here inputs[89] = (observer.second.attack_soldiers_strength < 4) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:393:5: note: used in buffer access here inputs[33] = soldier_trained_log.count(gametime) / 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:438:5: note: used in buffer access here inputs[70] = (enemys_power_growth < 85) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:326:5: note: used in buffer access here inputs[3] = (is_warehouse) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:431:5: note: used in buffer access here inputs[63] = (my_to_enemy_power_ratio - 100) / 50; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:348:5: note: used in buffer access here inputs[12] = (owner_number == persistent_data->last_attacked_player) ? 2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:383:5: note: used in buffer access here inputs[29] = general_score; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:434:5: note: used in buffer access here inputs[66] = (enemys_power_growth > 115) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:399:5: note: used in buffer access here inputs[39] = (gametime < Time(30 * 60 * 1000)) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:414:5: note: used in buffer access here inputs[48] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:479:5: note: used in buffer access here inputs[103] = (observer.second.enemy_military_presence_in_region > 5) ? 2 : 6; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:408:5: note: used in buffer access here inputs[45] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:433:5: note: used in buffer access here inputs[65] = (enemys_power_growth > 110) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:435:5: note: used in buffer access here inputs[67] = (enemys_power_growth > 120) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:440:5: note: used in buffer access here inputs[72] = (own_power_growth > 105) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:466:5: note: used in buffer access here inputs[88] = (observer.second.attack_soldiers_strength < 2) ? -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:421:5: note: used in buffer access here inputs[53] = (my_to_enemy_power_ratio > 60) ? 0 : -4; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:512:11: note: used in buffer access here if (inputs[j + kFNeuronBitSize] < -10 || inputs[j + kFNeuronBitSize] > 10) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:437:5: note: used in buffer access here inputs[69] = (enemys_power_growth < 90) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:486:5: note: used in buffer access here inputs[107] = (observer.second.attack_soldiers_strength > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:392:5: note: used in buffer access here inputs[32] = soldier_trained_log.count(gametime); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:449:5: note: used in buffer access here inputs[80] = -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:342:5: note: used in buffer access here inputs[9] = (soldier_status_ == SoldiersStatus::kBadShortage || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:530:26: note: used in buffer access here inputs[j + 3 * kFNeuronBitSize]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:381:5: note: used in buffer access here inputs[27] = (ts_finished_count_ - ts_without_trainers_) * 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:444:5: note: used in buffer access here inputs[76] = (own_power_growth < 95) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:506:11: note: used in buffer access here if (inputs[j] < -10 || inputs[j] > 10) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:384:5: note: used in buffer access here inputs[30] = ((mines_per_type[iron_resource_id].in_construction + ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:397:5: note: used in buffer access here inputs[37] = (gametime < Time(20 * 60 * 1000)) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:490:5: note: used in buffer access here inputs[108] = (observer.second.attack_soldiers_strength > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:396:5: note: used in buffer access here inputs[36] = (gametime < Time(15 * 60 * 1000)) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:451:5: note: used in buffer access here inputs[82] = -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:478:5: note: used in buffer access here inputs[102] = (observer.second.enemy_military_sites_in_region > 7) ? -6 : -4; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:378:5: note: used in buffer access here inputs[24] = (my_to_enemy_power_ratio > 110) ? 2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:368:5: note: used in buffer access here inputs[20] = (player_statistics.get_player_power(owner_number) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:427:5: note: used in buffer access here inputs[59] = (my_to_enemy_power_ratio > 120) ? 2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:462:5: note: used in buffer access here inputs[87] = (soldier_status_ == SoldiersStatus::kBadShortage || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:333:5: note: used in buffer access here inputs[7] = (3 * observer.second.defenders_strength > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:420:5: note: used in buffer access here inputs[52] = (my_to_enemy_power_ratio - 100) / 50; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:474:5: note: used in buffer access here inputs[98] = -player_statistics.enemies_seen_lately_count(gametime); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:376:5: note: used in buffer access here inputs[22] = (my_to_enemy_power_ratio > 80) ? 2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:400:5: note: used in buffer access here inputs[40] = (gametime < Time(35 * 60 * 1000)) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:441:5: note: used in buffer access here inputs[73] = (own_power_growth > 110) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:450:5: note: used in buffer access here inputs[81] = +1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:514:26: note: used in buffer access here inputs[j + kFNeuronBitSize]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:423:5: note: used in buffer access here inputs[55] = (my_to_enemy_power_ratio > 80) ? 2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:429:5: note: used in buffer access here inputs[61] = (my_to_enemy_power_ratio > 140) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:443:5: note: used in buffer access here inputs[75] = (own_power_growth > 120) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:394:5: note: used in buffer access here inputs[34] = general_score * 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:404:5: note: used in buffer access here inputs[43] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:461:5: note: used in buffer access here inputs[86] = (soldier_status_ == SoldiersStatus::kBadShortage) ? -4 : 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:422:5: note: used in buffer access here inputs[54] = (my_to_enemy_power_ratio > 70) ? 0 : -3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:482:5: note: used in buffer access here inputs[106] = (observer.second.attack_soldiers_strength > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:520:11: note: used in buffer access here inputs[j + 2 * kFNeuronBitSize] > 10) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:325:5: note: used in buffer access here inputs[2] = (is_warehouse) ? 4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:360:5: note: used in buffer access here inputs[18] = (player_statistics.get_visible_enemies_power(gametime) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:518:32: note: used in buffer access here observer.second.score += inputs[j + 2 * kFNeuronBitSize]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:477:5: note: used in buffer access here inputs[101] = (observer.second.enemy_military_sites_in_region > 5) ? -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:511:32: note: used in buffer access here observer.second.score += inputs[j + kFNeuronBitSize]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:356:5: note: used in buffer access here inputs[17] = (player_statistics.get_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:382:5: note: used in buffer access here inputs[28] = general_score * 3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:436:5: note: used in buffer access here inputs[68] = (enemys_power_growth < 95) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:442:5: note: used in buffer access here inputs[74] = (own_power_growth > 115) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:439:5: note: used in buffer access here inputs[71] = (enemys_power_growth < 80) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:456:5: note: used in buffer access here inputs[84] = (soldier_status_ == SoldiersStatus::kBadShortage || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:469:5: note: used in buffer access here inputs[91] = (observer.second.attack_soldiers_strength < 7) ? -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:507:64: note: used in buffer access here verb_log_dbg_time(gametime, " pos: %d - value %d\n", j, inputs[j]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:460:5: note: used in buffer access here inputs[85] = (soldier_status_ == SoldiersStatus::kBadShortage) ? -2 : 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:428:5: note: used in buffer access here inputs[60] = (my_to_enemy_power_ratio > 130) ? 2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:419:5: note: used in buffer access here inputs[51] = soldier_trained_log.count(gametime) / 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:328:5: note: used in buffer access here inputs[5] = (observer.second.attack_soldiers_competency > 25) ? 4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:406:5: note: used in buffer access here inputs[44] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:430:5: note: used in buffer access here inputs[62] = (my_to_enemy_power_ratio > 150) ? 4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:372:5: note: used in buffer access here inputs[21] = (player_statistics.get_player_power(owner_number) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:471:5: note: used in buffer access here inputs[93] = (observer.second.attack_soldiers_competency < 20) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:329:5: note: used in buffer access here inputs[6] = (2 * observer.second.defenders_strength > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:426:5: note: used in buffer access here inputs[58] = (my_to_enemy_power_ratio > 110) ? 2 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:447:5: note: used in buffer access here inputs[78] = (own_power_growth < 80) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:824:12: warning: 'inputs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] int16_t inputs[kFNeuronBitSize] = {0}; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:840:4: note: used in buffer access here inputs[6] = (player_statistics.get_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:900:5: note: used in buffer access here inputs[23] = (player_statistics.get_player_power(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:906:4: note: used in buffer access here inputs[25] = (shortage < 1) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:911:19: note: used in buffer access here tmp_score += inputs[i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:862:4: note: used in buffer access here inputs[16] = (player_statistics.get_player_power(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:826:4: note: used in buffer access here inputs[1] = (player_statistics.get_visible_enemies_power(gametime) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:857:4: note: used in buffer access here inputs[11] = (3 - shortage) * 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:866:4: note: used in buffer access here inputs[17] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:892:5: note: used in buffer access here inputs[21] = (player_statistics.get_player_power(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:832:4: note: used in buffer access here inputs[4] = (player_statistics.get_player_power(pn) * 2 > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:874:4: note: used in buffer access here inputs[19] = (player_statistics.get_player_power(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:856:4: note: used in buffer access here inputs[10] = (3 - shortage) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:896:5: note: used in buffer access here inputs[22] = (player_statistics.get_player_power(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:888:5: note: used in buffer access here inputs[20] = (player_statistics.get_player_power(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:861:4: note: used in buffer access here inputs[15] = -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:844:4: note: used in buffer access here inputs[7] = (player_statistics.get_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:882:4: note: used in buffer access here inputs[21] = (player_statistics.get_player_power(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:859:4: note: used in buffer access here inputs[13] = +2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:836:4: note: used in buffer access here inputs[5] = (player_statistics.get_player_power(pn) * 2 > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:831:4: note: used in buffer access here inputs[3] = (mines_per_type[iron_resource_id].total_count() == 0) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:860:4: note: used in buffer access here inputs[14] = -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:870:4: note: used in buffer access here inputs[18] = (player_statistics.get_player_power(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:830:4: note: used in buffer access here inputs[2] = (mines_.size() > 2) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:848:4: note: used in buffer access here inputs[8] = (player_statistics.get_player_power(pn) * 2 > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:878:4: note: used in buffer access here inputs[20] = (player_statistics.get_player_power(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:852:4: note: used in buffer access here inputs[9] = (player_statistics.get_player_power(pn) * 2 > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:905:4: note: used in buffer access here inputs[24] = (shortage < 2) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:858:4: note: used in buffer access here inputs[12] = +1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1163:17: warning: 'scores' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const uint16_t scores[3] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1202:16: note: used in buffer access here inputs[22] = (scores[size - 1] > total_score / 4) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1168:55: note: used in buffer access here const uint16_t total_score = scores[0] + scores[1] + scores[2]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1200:16: note: used in buffer access here inputs[20] = (scores[size - 1] > total_score / 2) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1190:16: note: used in buffer access here inputs[11] = (scores[size - 1] > total_score / 2) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1168:43: note: used in buffer access here const uint16_t total_score = scores[0] + scores[1] + scores[2]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1191:16: note: used in buffer access here inputs[12] = (scores[size - 1] > total_score / 3) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1189:16: note: used in buffer access here inputs[10] = (scores[size - 1] > total_score) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1175:17: warning: 'inputs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static int32_t inputs[4 * kFNeuronBitSize] = {0}; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1429:3: note: used in buffer access here inputs[117] = -8; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1234:2: note: used in buffer access here inputs[38] = (!player_statistics.any_enemy_seen_lately(gametime)) && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1190:2: note: used in buffer access here inputs[11] = (scores[size - 1] > total_score / 2) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1337:2: note: used in buffer access here inputs[77] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1248:2: note: used in buffer access here inputs[41] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1328:2: note: used in buffer access here inputs[68] = (gametime < Time(15 * 60 * 1000)) ? (size - 1) * -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1195:2: note: used in buffer access here inputs[15] = (spots_ < kSpotsTooLittle) ? +1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1304:2: note: used in buffer access here inputs[56] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1216:2: note: used in buffer access here inputs[34] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1333:2: note: used in buffer access here inputs[73] = (gametime < Time(45 * 60 * 1000)) ? (size - 1) * -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1383:2: note: used in buffer access here inputs[93] = (player_statistics.get_player_land(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1412:2: note: used in buffer access here inputs[107] = stocked_wood_level < 25 ? -3 * (size - 1) : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1196:2: note: used in buffer access here inputs[16] = +1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1378:2: note: used in buffer access here inputs[91] = -static_cast(msites_in_constr()) / 4; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1218:2: note: used in buffer access here inputs[35] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1372:2: note: used in buffer access here inputs[85] = -1 * static_cast(msites_in_constr()); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1239:2: note: used in buffer access here inputs[39] = (!player_statistics.any_enemy_seen_lately(gametime)) && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1413:2: note: used in buffer access here inputs[108] = stocked_wood_level < 25 ? -5 * size : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1209:2: note: used in buffer access here inputs[29] = +3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1405:2: note: used in buffer access here inputs[102] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy) ? -4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1280:2: note: used in buffer access here inputs[48] = (soldier_status_ == SoldiersStatus::kBadShortage) ? -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1298:2: note: used in buffer access here inputs[54] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1324:2: note: used in buffer access here inputs[64] = (bo.build_material_shortage) ? -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1223:2: note: used in buffer access here inputs[36] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1205:2: note: used in buffer access here inputs[25] = (((3 - size) * msites_in_constr()) < 5) ? +1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1354:3: note: used in buffer access here inputs[81] = (player_statistics.get_player_land(pn) * 130 / 100 < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1399:3: note: used in buffer access here inputs[97] = -1 * static_cast(msites_in_constr()) / 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1392:2: note: used in buffer access here inputs[95] = (!player_statistics.any_enemy_seen_lately(gametime)) && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1296:2: note: used in buffer access here inputs[53] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1428:3: note: used in buffer access here inputs[116] = -6; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1184:2: note: used in buffer access here inputs[5] = -3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1200:2: note: used in buffer access here inputs[20] = (scores[size - 1] > total_score / 2) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1283:2: note: used in buffer access here inputs[50] = (!player_statistics.any_enemy_seen_lately(gametime)) && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1312:2: note: used in buffer access here inputs[59] = ((mines_per_type[iron_resource_id].in_construction + ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1400:3: note: used in buffer access here inputs[98] = -1 * static_cast(msites_in_constr()) / 3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1288:2: note: used in buffer access here inputs[51] = (!player_statistics.any_enemy_seen_lately(gametime)) && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1198:2: note: used in buffer access here inputs[18] = -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1322:2: note: used in buffer access here inputs[63] = (soldier_status_ == SoldiersStatus::kShortage) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1454:19: note: used in buffer access here final_score += inputs[3 * kFNeuronBitSize + i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1330:2: note: used in buffer access here inputs[70] = (gametime < Time(45 * 60 * 1000)) ? (size - 1) * -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1401:3: note: used in buffer access here inputs[99] = (msites_in_constr() > msites_built() / 2) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1451:19: note: used in buffer access here final_score += inputs[2 * kFNeuronBitSize + i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1306:2: note: used in buffer access here inputs[57] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1245:2: note: used in buffer access here inputs[40] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1341:2: note: used in buffer access here inputs[78] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1398:3: note: used in buffer access here inputs[96] = -1 * static_cast(msites_in_constr()); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1435:7: note: used in buffer access here if (inputs[i] < -35 || inputs[i] > 6) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1265:2: note: used in buffer access here inputs[45] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1427:3: note: used in buffer access here inputs[115] = -3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1438:26: note: used in buffer access here i, inputs[i]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:61:34: note: expanded from macro 'verb_log_warn_time' do_log(LogType::kWarning, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1445:19: note: used in buffer access here final_score += inputs[i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1373:2: note: used in buffer access here inputs[86] = -1 * static_cast(msites_in_constr()) / 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1317:2: note: used in buffer access here inputs[61] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1281:2: note: used in buffer access here inputs[49] = (soldier_status_ == SoldiersStatus::kShortage) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1182:2: note: used in buffer access here inputs[3] = (msites_total < 5) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1363:3: note: used in buffer access here inputs[83] = (player_statistics.get_player_land(pn) * 130 / 100 < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1251:2: note: used in buffer access here inputs[42] = (!player_statistics.any_enemy_seen_lately(gametime)) && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1411:2: note: used in buffer access here inputs[106] = stocked_wood_level < 25 ? -1 * (size - 1) : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1334:2: note: used in buffer access here inputs[74] = (gametime < Time(15 * 60 * 1000)) ? (size - 1) * -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1432:2: note: used in buffer access here inputs[119] = -mine_fields_stat.count_types() * 3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1256:2: note: used in buffer access here inputs[43] = (!player_statistics.any_enemy_seen_lately(gametime)) && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1367:3: note: used in buffer access here inputs[84] = (player_statistics.get_old60_player_land(pn) * 130 / 100 < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1448:19: note: used in buffer access here final_score += inputs[kFNeuronBitSize + i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1403:3: note: used in buffer access here inputs[101] = (msites_in_constr() > msites_built() / 4) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1422:3: note: used in buffer access here inputs[113] = -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1207:2: note: used in buffer access here inputs[27] = +5; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1326:2: note: used in buffer access here inputs[66] = (bo.build_material_shortage) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1189:2: note: used in buffer access here inputs[10] = (scores[size - 1] > total_score) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1414:2: note: used in buffer access here inputs[109] = stocked_wood_level < 25 ? -5 * (size - 1) : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1185:2: note: used in buffer access here inputs[6] = (msites_in_constr() > msites_built() / 2) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1179:2: note: used in buffer access here inputs[1] = (msites_total < 2) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1316:2: note: used in buffer access here inputs[60] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1228:2: note: used in buffer access here inputs[37] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1374:2: note: used in buffer access here inputs[87] = -1 * static_cast(msites_in_constr()) / 3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1379:2: note: used in buffer access here inputs[92] = (player_statistics.get_player_land(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1199:2: note: used in buffer access here inputs[19] = -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1332:2: note: used in buffer access here inputs[72] = (gametime < Time(30 * 60 * 1000)) ? (size - 1) * -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1269:2: note: used in buffer access here inputs[46] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1206:2: note: used in buffer access here inputs[26] = (msites_in_constr() < 7) ? +1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1211:2: note: used in buffer access here inputs[31] = (soldier_status_ == SoldiersStatus::kShortage) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1308:2: note: used in buffer access here inputs[58] = ((mines_per_type[iron_resource_id].in_construction + ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1421:3: note: used in buffer access here inputs[112] = -5; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1202:2: note: used in buffer access here inputs[22] = (scores[size - 1] > total_score / 4) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1188:2: note: used in buffer access here inputs[9] = (soldier_status_ == SoldiersStatus::kShortage) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1180:2: note: used in buffer access here inputs[2] = (msites_total < 3) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1321:2: note: used in buffer access here inputs[62] = (soldier_status_ == SoldiersStatus::kBadShortage) ? -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1186:2: note: used in buffer access here inputs[7] = (msites_in_constr() > msites_built() / 3) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1191:2: note: used in buffer access here inputs[12] = (scores[size - 1] > total_score / 3) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1213:2: note: used in buffer access here inputs[32] = (soldier_status_ == SoldiersStatus::kBadShortage) ? -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1192:2: note: used in buffer access here inputs[13] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1183:2: note: used in buffer access here inputs[4] = (msites_in_constr() > msites_built()) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1331:2: note: used in buffer access here inputs[71] = (gametime < Time(15 * 60 * 1000)) ? (size - 1) * -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1329:2: note: used in buffer access here inputs[69] = (gametime < Time(30 * 60 * 1000)) ? (size - 1) * -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1402:3: note: used in buffer access here inputs[100] = (msites_in_constr() > msites_built() / 3) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1194:2: note: used in buffer access here inputs[14] = (mines_per_type[iron_resource_id].total_count() == 0) ? +1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1376:2: note: used in buffer access here inputs[89] = (msites_in_constr() > 2 && msites_in_constr() > msites_built() / 3) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1349:2: note: used in buffer access here inputs[80] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1387:2: note: used in buffer access here inputs[94] = (!player_statistics.any_enemy_seen_lately(gametime)) && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1197:2: note: used in buffer access here inputs[17] = +2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1418:3: note: used in buffer access here inputs[111] = -10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1417:3: note: used in buffer access here inputs[111] = -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1187:2: note: used in buffer access here inputs[8] = (soldier_status_ == SoldiersStatus::kBadShortage) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1416:3: note: used in buffer access here inputs[110] = -5; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1336:2: note: used in buffer access here inputs[76] = (gametime < Time(45 * 60 * 1000)) ? (size - 1) * -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1325:2: note: used in buffer access here inputs[65] = (bo.build_material_shortage) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1406:2: note: used in buffer access here inputs[104] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1301:2: note: used in buffer access here inputs[55] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1375:2: note: used in buffer access here inputs[88] = (msites_in_constr() > 2 && msites_in_constr() > msites_built() / 2) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1204:2: note: used in buffer access here inputs[24] = (3 - size) * ((msites_in_constr() < 3) ? +1 : 0); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1201:2: note: used in buffer access here inputs[21] = (msites_in_constr() > msites_built() / 3) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1181:2: note: used in buffer access here inputs[3] = (msites_total < 4) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1345:2: note: used in buffer access here inputs[79] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1203:2: note: used in buffer access here inputs[23] = (((3 - size) * msites_in_constr()) < 1) ? +1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1214:2: note: used in buffer access here inputs[33] = (soldier_status_ == SoldiersStatus::kShortage) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1274:2: note: used in buffer access here inputs[47] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1294:2: note: used in buffer access here inputs[52] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1208:2: note: used in buffer access here inputs[28] = -5; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1210:2: note: used in buffer access here inputs[30] = (soldier_status_ == SoldiersStatus::kBadShortage) ? -4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1358:3: note: used in buffer access here inputs[82] = (player_statistics.get_old60_player_land(pn) * 130 / 100 < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1377:2: note: used in buffer access here inputs[90] = (msites_in_constr() > 2 && msites_in_constr() > msites_built() / 4) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1262:2: note: used in buffer access here inputs[44] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1431:2: note: used in buffer access here inputs[118] = -mine_fields_stat.count_types(); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1435:26: note: used in buffer access here if (inputs[i] < -35 || inputs[i] > 6) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1335:2: note: used in buffer access here inputs[75] = (gametime < Time(30 * 60 * 1000)) ? (size - 1) * -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1410:2: note: used in buffer access here inputs[105] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1327:2: note: used in buffer access here inputs[67] = (bo.build_material_shortage) ? -8 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai_warfare.cc:1423:3: note: used in buffer access here inputs[114] = -10; ^~~~~~ 86 warnings generated. [1720/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ai/CMakeFiles/ai.dir/defaultai.cc.o -MF src/ai/CMakeFiles/ai.dir/defaultai.cc.o.d -o src/ai/CMakeFiles/ai.dir/defaultai.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:33: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:528:26: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] player_number(), persistent_data->remaining_basic_buildings.size(), ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:55:31: note: expanded from macro 'verb_log_info_time' do_log(LogType::kInfo, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:534:25: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] enemy_warehouses.size()); ^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:55:31: note: expanded from macro 'verb_log_info_time' do_log(LogType::kInfo, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:665:39: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] player_number(), persistent_data->remaining_basic_buildings.size(), ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:55:31: note: expanded from macro 'verb_log_info_time' do_log(LogType::kInfo, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:1381:27: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] updated_fields_count, buildable_fields.size(), special_fields_to_prefer[kSpecialFieldPos], ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:1426:20: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] buildable_fields.size()); ^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:1324:11: warning: 'special_fields_to_prefer' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] uint16_t special_fields_to_prefer[3] = {4, 2, 10}; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:1381:52: note: used in buffer access here updated_fields_count, buildable_fields.size(), special_fields_to_prefer[kSpecialFieldPos], ^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:1382:5: note: used in buffer access here special_fields_to_prefer[kMediumlFieldPos], special_fields_to_prefer[kBigFieldPos], ^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:1382:49: note: used in buffer access here special_fields_to_prefer[kMediumlFieldPos], special_fields_to_prefer[kBigFieldPos], ^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:1371:4: note: used in buffer access here special_fields_to_prefer[update_reason]--; ^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:1358:34: note: used in buffer access here } else if (build_caps == 3 && (special_fields_to_prefer[kBigFieldPos] != 0u)) { ^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:1356:27: note: used in buffer access here if (build_caps == 2 && (special_fields_to_prefer[kMediumlFieldPos] != 0u)) { ^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:1360:14: note: used in buffer access here } else if (special_fields_to_prefer[kSpecialFieldPos] != 0u) { ^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:1999:10: warning: 'score_parts' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] int32_t score_parts[score_parts_size] = {0}; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2148:2: note: used in buffer access here score_parts[46] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2169:2: note: used in buffer access here score_parts[60] = 3 * management_data.neuron_pool[21].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2034:3: note: used in buffer access here score_parts[14] = -1 * (field.military_in_constr_nearby + field.military_unstationed) * ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2100:3: note: used in buffer access here score_parts[33] = (field.military_in_constr_nearby > 0) ? ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2014:3: note: used in buffer access here score_parts[6] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2113:4: note: used in buffer access here score_parts[37] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2043:3: note: used in buffer access here score_parts[19] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2157:2: note: used in buffer access here score_parts[55] = (field.military_loneliness < 50) ? ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2095:3: note: used in buffer access here score_parts[31] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2009:3: note: used in buffer access here score_parts[4] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2025:3: note: used in buffer access here score_parts[11] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2003:3: note: used in buffer access here score_parts[1] = 3 * management_data.neuron_pool[76].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2041:3: note: used in buffer access here score_parts[18] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2154:2: note: used in buffer access here score_parts[49] = ((field.military_in_constr_nearby + field.military_unstationed) > 0) ? ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2016:3: note: used in buffer access here score_parts[7] = 2 * management_data.neuron_pool[34].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2053:3: note: used in buffer access here score_parts[20] = management_data.neuron_pool[22].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2085:3: note: used in buffer access here score_parts[28] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2109:4: note: used in buffer access here score_parts[36] = -100 - 4 * std::abs(management_data.get_military_number_at(139)); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2028:3: note: used in buffer access here score_parts[12] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2143:2: note: used in buffer access here score_parts[45] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2089:3: note: used in buffer access here score_parts[29] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2039:3: note: used in buffer access here score_parts[16] = -5 * std::min(field.future_area_military_capacity, 20); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2081:4: note: used in buffer access here score_parts[27] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2134:2: note: used in buffer access here score_parts[42] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2177:2: note: used in buffer access here score_parts[63] = (field.nearest_buildable_spot_nearby < 4) ? ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2126:3: note: used in buffer access here score_parts[40] = field.unowned_iron_mines_nearby * ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2059:4: note: used in buffer access here score_parts[23] = 2 * management_data.neuron_pool[78].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2171:2: note: used in buffer access here score_parts[61] = (field.nearest_buildable_spot_nearby < 8) ? ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2011:3: note: used in buffer access here score_parts[5] = 2 * management_data.neuron_pool[50].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2048:3: note: used in buffer access here score_parts[70] = management_data.neuron_pool[32].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2120:3: note: used in buffer access here score_parts[71] = management_data.neuron_pool[43].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2152:2: note: used in buffer access here score_parts[48] = -2 * management_data.neuron_pool[36].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2193:2: note: used in buffer access here score_parts[69] = management_data.neuron_pool[30].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2077:4: note: used in buffer access here score_parts[26] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2150:2: note: used in buffer access here score_parts[47] = -1 * management_data.neuron_pool[53].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2174:2: note: used in buffer access here score_parts[62] = (field.nearest_buildable_spot_nearby > 20) ? ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2055:3: note: used in buffer access here score_parts[21] = (field.unowned_mines_spots_nearby > 0) ? ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2007:3: note: used in buffer access here score_parts[3] = 3 * management_data.neuron_pool[61].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2141:2: note: used in buffer access here score_parts[44] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2164:2: note: used in buffer access here score_parts[58] = 3 * management_data.neuron_pool[19].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2031:3: note: used in buffer access here score_parts[13] = ((field.military_in_constr_nearby + field.military_unstationed) > 0) ? ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2063:3: note: used in buffer access here score_parts[24] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2045:3: note: used in buffer access here score_parts[64] = (field.enemy_wh_nearby) ? ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2185:2: note: used in buffer access here score_parts[67] = (field.unowned_mines_spots_nearby > 0 && mine_fields_stat.count_types() <= 4) ? ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2023:3: note: used in buffer access here score_parts[10] = (field.enemy_accessible_) ? management_data.get_military_number_at(80) : 0; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2139:2: note: used in buffer access here score_parts[43] = 2 * management_data.neuron_pool[11].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2160:2: note: used in buffer access here score_parts[56] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2005:3: note: used in buffer access here score_parts[2] = 3 * management_data.neuron_pool[54].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2037:3: note: used in buffer access here score_parts[15] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2092:3: note: used in buffer access here score_parts[30] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2106:3: note: used in buffer access here score_parts[35] = 3 * management_data.get_military_number_at(133); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2162:2: note: used in buffer access here score_parts[57] = 1 * management_data.neuron_pool[38].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2098:3: note: used in buffer access here score_parts[32] = -4 * field.military_in_constr_nearby * ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2118:4: note: used in buffer access here score_parts[65] = -10 * std::abs(management_data.get_military_number_at(54)); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2040:3: note: used in buffer access here score_parts[17] = 3 * management_data.get_military_number_at(28); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2131:3: note: used in buffer access here score_parts[41] = 3 * std::abs(management_data.get_military_number_at(93)); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2181:2: note: used in buffer access here score_parts[66] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2067:3: note: used in buffer access here score_parts[25] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2021:3: note: used in buffer access here score_parts[9] = management_data.neuron_pool[65].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2188:2: note: used in buffer access here score_parts[68] = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2166:2: note: used in buffer access here score_parts[59] = (field.unowned_portspace_vicinity_nearby != 0) ? ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2018:3: note: used in buffer access here score_parts[8] = management_data.neuron_pool[56].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2104:3: note: used in buffer access here score_parts[34] = -1 * management_data.neuron_pool[4].get_result_safe( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:2431:39: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] player_number(), persistent_data->remaining_basic_buildings.size(), ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:55:31: note: expanded from macro 'verb_log_info_time' do_log(LogType::kInfo, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4345:11: warning: 'inputs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] int16_t inputs[kFNeuronBitSize] = {0}; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4351:3: note: used in buffer access here inputs[2] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4367:3: note: used in buffer access here inputs[17] = static_cast(player_statistics.get_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4364:3: note: used in buffer access here inputs[16] = static_cast(player_statistics.get_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4382:18: note: used in buffer access here tmp_score += inputs[i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4358:3: note: used in buffer access here inputs[14] = static_cast(player_statistics.get_player_power(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4356:3: note: used in buffer access here inputs[5] = -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4353:3: note: used in buffer access here inputs[3] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4375:3: note: used in buffer access here inputs[21] = 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4370:3: note: used in buffer access here inputs[18] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4379:3: note: used in buffer access here inputs[25] = (ts_without_trainers_ > 0) ? -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4378:3: note: used in buffer access here inputs[24] = (ts_without_trainers_ > 0) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4377:3: note: used in buffer access here inputs[23] = (ts_without_trainers_ > 0) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4376:3: note: used in buffer access here inputs[22] = 3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4374:3: note: used in buffer access here inputs[20] = 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4372:3: note: used in buffer access here inputs[19] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4355:3: note: used in buffer access here inputs[4] = -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4361:3: note: used in buffer access here inputs[15] = static_cast(player_statistics.get_player_power(pn) < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:4357:3: note: used in buffer access here inputs[6] = -3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5208:19: warning: 'inputs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static int16_t inputs[kFNeuronBitSize] = {0}; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5213:4: note: used in buffer access here inputs[2] = (bo.max_needed_preciousness == 0) ? -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5234:4: note: used in buffer access here inputs[14] = (bo.total_count() >= bo.cnt_target) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5241:4: note: used in buffer access here inputs[21] = -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5235:4: note: used in buffer access here inputs[15] = (bo.total_count() >= bo.cnt_target) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5214:4: note: used in buffer access here inputs[3] = (bo.total_count() > 0) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5217:4: note: used in buffer access here inputs[6] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy) ? +1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5226:4: note: used in buffer access here inputs[12] = (bo.last_building_built.is_valid() && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5254:19: note: used in buffer access here tmp_score += inputs[i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5218:4: note: used in buffer access here inputs[7] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy) ? +2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5221:4: note: used in buffer access here inputs[10] = (expansion_type.get_expansion_type() == ExpansionMode::kBoth) ? +1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5244:4: note: used in buffer access here inputs[24] = -5; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5246:4: note: used in buffer access here inputs[26] = (basic_economy_established) ? 1 : -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5220:4: note: used in buffer access here inputs[9] = (expansion_type.get_expansion_type() == ExpansionMode::kBoth) ? +1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5219:4: note: used in buffer access here inputs[8] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy) ? +3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5240:4: note: used in buffer access here inputs[20] = -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5248:4: note: used in buffer access here inputs[28] = (bo.total_count() > 0 && spots_ < kSpotsTooLittle) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5243:4: note: used in buffer access here inputs[23] = -4; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5245:4: note: used in buffer access here inputs[25] = (basic_economy_established) ? 1 : -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5230:4: note: used in buffer access here inputs[13] = (bo.last_building_built.is_valid() && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5216:4: note: used in buffer access here inputs[5] = (bo.total_count() > 0) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5239:4: note: used in buffer access here inputs[19] = +2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5222:4: note: used in buffer access here inputs[11] = (bo.last_building_built.is_valid() && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5215:4: note: used in buffer access here inputs[4] = (bo.total_count() > 1) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5236:4: note: used in buffer access here inputs[16] = (bo.total_count() < bo.cnt_target) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5250:4: note: used in buffer access here inputs[30] = (spots_ < kSpotsTooLittle) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5247:4: note: used in buffer access here inputs[27] = (bo.total_count() > 0 && spots_ < kSpotsEnough) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5242:4: note: used in buffer access here inputs[22] = -3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5237:4: note: used in buffer access here inputs[17] = (bo.total_count() < bo.cnt_target) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5238:4: note: used in buffer access here inputs[18] = +1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5212:4: note: used in buffer access here inputs[1] = (bo.max_needed_preciousness > 0) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5249:4: note: used in buffer access here inputs[29] = (spots_ < kSpotsEnough) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5330:19: warning: 'inputs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static int16_t inputs[2 * kFNeuronBitSize] = {0}; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5342:4: note: used in buffer access here inputs[8] = static_cast(persistent_data->trees_around_cutters < 100) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5348:4: note: used in buffer access here inputs[14] = static_cast(get_stocklevel(bo, gametime) < 10) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5389:5: note: used in buffer access here inputs[43] = static_cast(persistent_data->trees_around_cutters < 40) * 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5360:4: note: used in buffer access here inputs[23] = (msites_in_constr() > 0) ? 1 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5338:4: note: used in buffer access here inputs[4] = static_cast(persistent_data->trees_around_cutters < 50) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5378:4: note: used in buffer access here inputs[37] = -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5413:4: note: used in buffer access here inputs[54] = static_cast(Time(5 * 60 * 1000) > gametime) * -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5335:4: note: used in buffer access here inputs[1] = static_cast(persistent_data->trees_around_cutters < 20) * 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5356:5: note: used in buffer access here inputs[20] = 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5404:4: note: used in buffer access here inputs[51] = static_cast(bo.last_building_built.is_valid() && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5421:4: note: used in buffer access here inputs[62] = (basic_economy_established) ? 0 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5362:4: note: used in buffer access here inputs[25] = (wood_policy_.at(bo.id) != WoodPolicy::kAllowRangers) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5341:4: note: used in buffer access here inputs[7] = static_cast(persistent_data->trees_around_cutters < 20) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5391:5: note: used in buffer access here inputs[45] = static_cast(persistent_data->trees_around_cutters < 80) * 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5359:4: note: used in buffer access here inputs[22] = (basic_economy_established) ? -1 : 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5361:4: note: used in buffer access here inputs[24] = (msites_in_constr() > 1) ? 1 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5349:4: note: used in buffer access here inputs[15] = static_cast(get_stocklevel(bo, gametime) < 10) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5414:4: note: used in buffer access here inputs[55] = static_cast(Time(6 * 60 * 1000) > gametime) * -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5373:4: note: used in buffer access here inputs[32] = static_cast(persistent_data->trees_around_cutters < 200) * 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5374:4: note: used in buffer access here inputs[33] = static_cast(mines_per_type[iron_resource_id].total_count() <= 1) * -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5427:20: note: used in buffer access here tmp_target += inputs[i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5420:4: note: used in buffer access here inputs[61] = (spots_ < kSpotsTooLittle) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5352:5: note: used in buffer access here inputs[17] = static_cast(get_stocklevel(bo, gametime) > 30) * -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5377:4: note: used in buffer access here inputs[36] = static_cast(mines_per_type[iron_resource_id].total_count() == 0) * -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5336:4: note: used in buffer access here inputs[2] = static_cast(persistent_data->trees_around_cutters < 30) * 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5339:4: note: used in buffer access here inputs[5] = static_cast(persistent_data->trees_around_cutters < 60) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5385:5: note: used in buffer access here inputs[42] = static_cast(persistent_data->trees_around_cutters < 80) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5357:5: note: used in buffer access here inputs[21] = 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5384:5: note: used in buffer access here inputs[41] = static_cast(persistent_data->trees_around_cutters < 60) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5396:5: note: used in buffer access here inputs[46] = static_cast(persistent_data->trees_around_cutters < 20) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5415:4: note: used in buffer access here inputs[56] = static_cast(Time(8 * 60 * 1000) > gametime) * -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5346:4: note: used in buffer access here inputs[12] = (wood_policy_.at(bo.id) == WoodPolicy::kAllowRangers) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5407:4: note: used in buffer access here inputs[52] = static_cast(bo.last_building_built.is_valid() && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5344:4: note: used in buffer access here inputs[10] = static_cast(persistent_data->trees_around_cutters < 300) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5370:5: note: used in buffer access here inputs[30] = static_cast(get_stocklevel(bo, gametime) > 30) * -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5375:4: note: used in buffer access here inputs[34] = static_cast(mines_per_type[iron_resource_id].total_count() <= 1) * -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5337:4: note: used in buffer access here inputs[3] = static_cast(persistent_data->trees_around_cutters < 40) * 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5347:4: note: used in buffer access here inputs[13] = (wood_policy_.at(bo.id) == WoodPolicy::kAllowRangers) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5365:5: note: used in buffer access here inputs[27] = static_cast(persistent_data->trees_around_cutters < 20) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5368:5: note: used in buffer access here inputs[28] = (wood_policy_.at(bo.id) == WoodPolicy::kAllowRangers) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5398:5: note: used in buffer access here inputs[48] = static_cast(persistent_data->trees_around_cutters < 60) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5397:5: note: used in buffer access here inputs[47] = static_cast(persistent_data->trees_around_cutters < 40) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5383:5: note: used in buffer access here inputs[40] = static_cast(persistent_data->trees_around_cutters < 40) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5417:4: note: used in buffer access here inputs[58] = (spots_ < kSpotsEnough) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5380:4: note: used in buffer access here inputs[39] = -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5416:4: note: used in buffer access here inputs[57] = static_cast(Time(10 * 60 * 1000) > gametime) * -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5376:4: note: used in buffer access here inputs[35] = static_cast(mines_per_type[iron_resource_id].total_count() == 0) * -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5410:4: note: used in buffer access here inputs[53] = static_cast(bo.last_building_built.is_valid() && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5353:5: note: used in buffer access here inputs[18] = static_cast(get_stocklevel(bo, gametime) > 20) * -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5372:4: note: used in buffer access here inputs[31] = static_cast(persistent_data->trees_around_cutters < 100) * 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5401:4: note: used in buffer access here inputs[50] = static_cast(bo.last_building_built.is_valid() && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5340:4: note: used in buffer access here inputs[6] = static_cast(persistent_data->trees_around_cutters < 10) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5343:4: note: used in buffer access here inputs[9] = static_cast(persistent_data->trees_around_cutters < 200) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5419:4: note: used in buffer access here inputs[60] = (spots_ < kSpotsTooLittle) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5418:4: note: used in buffer access here inputs[59] = (spots_ < kSpotsTooLittle) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5345:4: note: used in buffer access here inputs[11] = static_cast(persistent_data->trees_around_cutters < 400) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5364:5: note: used in buffer access here inputs[26] = (wood_policy_.at(bo.id) == WoodPolicy::kAllowRangers) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5379:4: note: used in buffer access here inputs[38] = -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5422:4: note: used in buffer access here inputs[63] = (spots_ < kSpotsTooLittle) ? 0 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5354:5: note: used in buffer access here inputs[19] = static_cast(get_stocklevel(bo, gametime) > 10) * -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5350:4: note: used in buffer access here inputs[16] = static_cast(get_stocklevel(bo, gametime) < 2) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5369:5: note: used in buffer access here inputs[29] = static_cast(persistent_data->trees_around_cutters < 20) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5430:20: note: used in buffer access here tmp_target += inputs[kFNeuronBitSize + i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5390:5: note: used in buffer access here inputs[44] = static_cast(persistent_data->trees_around_cutters < 60) * 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5399:5: note: used in buffer access here inputs[49] = static_cast(persistent_data->trees_around_cutters < 80) * 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5581:19: warning: 'inputs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static int16_t inputs[kFNeuronBitSize] = {0}; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5612:4: note: used in buffer access here inputs[28] = (bo.is(BuildingAttribute::kBuildingMatProducer)) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5604:4: note: used in buffer access here inputs[20] = (mines_per_type[bo.mines].total_count() == 1) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5606:4: note: used in buffer access here inputs[22] = (bo.current_stats - 50) / 10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5599:4: note: used in buffer access here inputs[15] = management_data.get_military_number_at(123) / 10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5600:4: note: used in buffer access here inputs[16] = 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5607:4: note: used in buffer access here inputs[23] = (bo.current_stats - 50) / 20; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5601:4: note: used in buffer access here inputs[17] = (inputs_on_stock) ? 0 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5603:4: note: used in buffer access here inputs[19] = (inputs_on_stock) ? 0 : -4; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5585:4: note: used in buffer access here inputs[1] = (gametime < Time(30 * 60 * 1000)) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5592:4: note: used in buffer access here inputs[8] = (gametime < Time(30 * 60 * 1000)) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5611:4: note: used in buffer access here inputs[27] = (workers_on_stock) ? 0 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5598:4: note: used in buffer access here inputs[14] = (bo.current_stats - 50) / 10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5613:4: note: used in buffer access here inputs[29] = (bo.is(BuildingAttribute::kBuildingMatProducer)) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5587:4: note: used in buffer access here inputs[3] = (mines_per_type[bo.mines].total_count() == 1) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5593:4: note: used in buffer access here inputs[9] = (gametime < Time(45 * 60 * 1000)) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5605:4: note: used in buffer access here inputs[21] = (mines_per_type[bo.mines].total_count() == 1) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5610:4: note: used in buffer access here inputs[26] = (workers_on_stock) ? 0 : -5; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5614:4: note: used in buffer access here inputs[30] = (mines_per_type[bo.mines].is_critical) ? 1 : -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5595:4: note: used in buffer access here inputs[11] = (mines_per_type[bo.mines].total_count() == 1) ? 1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5633:19: note: used in buffer access here tmp_score += inputs[i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5609:4: note: used in buffer access here inputs[25] = (suppliers_exist) ? 0 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5590:4: note: used in buffer access here inputs[6] = (bo.current_stats - 50) / 10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5608:4: note: used in buffer access here inputs[24] = (suppliers_exist) ? 0 : -5; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5589:4: note: used in buffer access here inputs[5] = (bo.mines == iron_resource_id) ? 2 : 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5596:4: note: used in buffer access here inputs[12] = (bo.mines == iron_resource_id) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5586:4: note: used in buffer access here inputs[2] = (gametime < Time(45 * 60 * 1000)) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5588:4: note: used in buffer access here inputs[4] = (mines_per_type[bo.mines].total_count() == 1) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5591:4: note: used in buffer access here inputs[7] = (gametime < Time(15 * 60 * 1000)) ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5602:4: note: used in buffer access here inputs[18] = (suppliers_exist) ? 0 : -3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5597:4: note: used in buffer access here inputs[13] = (bo.current_stats - 50) / 10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5594:4: note: used in buffer access here inputs[10] = (mines_per_type[bo.mines].total_count() == 1) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5649:19: warning: 'inputs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static int16_t inputs[4 * kFNeuronBitSize] = {0}; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5884:36: note: used in buffer access here const int16_t partial_input = inputs[i + 2 * kFNeuronBitSize]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5783:4: note: used in buffer access here inputs[65] = (gametime > Time(45 * 60 * 1000) && bo.total_count() == 0) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5863:5: note: used in buffer access here inputs[112] = std::abs(management_data.get_military_number_at(170)) / 10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5661:4: note: used in buffer access here inputs[4] = (bo.max_needed_preciousness >= 10) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5703:4: note: used in buffer access here inputs[20] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5748:4: note: used in buffer access here inputs[41] = (bo.build_material_shortage) ? -3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5761:4: note: used in buffer access here inputs[49] = (expansion_type.get_expansion_type() != ExpansionMode::kEconomy) ? -4 : 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5800:5: note: used in buffer access here inputs[75] = (gametime < bo.last_building_built + Duration(10 * 60 * 1000)) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5820:4: note: used in buffer access here inputs[87] = (suppliers_exist) ? 0 : -8; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5832:4: note: used in buffer access here inputs[97] = stocked_wood_level < 25 ? -8 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5764:4: note: used in buffer access here inputs[52] = (bo.total_count() == 0) ? 4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5850:4: note: used in buffer access here inputs[109] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5673:4: note: used in buffer access here inputs[8] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5700:4: note: used in buffer access here inputs[19] = (expansion_type.get_expansion_type() != ExpansionMode::kEconomy) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5710:4: note: used in buffer access here inputs[22] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5762:4: note: used in buffer access here inputs[50] = (expansion_type.get_expansion_type() != ExpansionMode::kEconomy) ? -1 : 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5765:4: note: used in buffer access here inputs[53] = (bo.total_count() == 0) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5827:4: note: used in buffer access here inputs[92] = (numof_psites_in_constr < 4) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5655:4: note: used in buffer access here inputs[1] = bo.total_count() * -3 / 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5843:5: note: used in buffer access here inputs[105] = -3; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5815:4: note: used in buffer access here inputs[82] = (inputs_on_stock) ? 0 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5751:4: note: used in buffer access here inputs[44] = (bo.inputs.empty() && bo.max_needed_preciousness >= 10) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5656:4: note: used in buffer access here inputs[2] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5876:36: note: used in buffer access here const int16_t partial_input = inputs[i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5735:4: note: used in buffer access here inputs[36] = (!bo.ware_outputs.empty() && !bo.inputs.empty() && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5677:4: note: used in buffer access here inputs[9] = (bo.is(BuildingAttribute::kBuildingMatProducer)) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5743:4: note: used in buffer access here inputs[38] = (bo.cnt_under_construction + bo.unoccupied_count > 0) ? -10 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5839:6: note: used in buffer access here inputs[102] = 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5870:4: note: used in buffer access here inputs[116] = -1 * (bo.unoccupied_count * bo.unoccupied_count); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5668:4: note: used in buffer access here inputs[6] = (needs_second_for_upgrade) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5840:6: note: used in buffer access here inputs[103] = 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5888:36: note: used in buffer access here const int16_t partial_input = inputs[i + 3 * kFNeuronBitSize]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5687:4: note: used in buffer access here inputs[13] = management_data.get_military_number_at(8) / 10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5812:4: note: used in buffer access here inputs[81] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5752:4: note: used in buffer access here inputs[45] = bo.max_needed_preciousness / 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5786:4: note: used in buffer access here inputs[68] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5775:4: note: used in buffer access here inputs[60] = (spots_ < kSpotsTooLittle) ? -10 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5745:5: note: used in buffer access here inputs[39] = -10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5781:4: note: used in buffer access here inputs[63] = (!bo.ware_outputs.empty() && !bo.inputs.empty()) ? bo.current_stats / 10 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5833:4: note: used in buffer access here inputs[98] = stocked_wood_level < 25 ? -4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5841:6: note: used in buffer access here inputs[104] = -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5722:4: note: used in buffer access here inputs[29] = (bo.inputs.empty() && bo.max_needed_preciousness >= 10) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5720:4: note: used in buffer access here inputs[27] = stocked_wood_level > 25 ? 4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5753:4: note: used in buffer access here inputs[46] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5798:5: note: used in buffer access here inputs[73] = (gametime < bo.last_building_built + Duration(5 * 60 * 1000)) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5834:4: note: used in buffer access here inputs[99] = stocked_wood_level < 25 ? -1 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5776:4: note: used in buffer access here inputs[61] = (player_statistics.any_enemy_seen_lately(gametime)) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5835:4: note: used in buffer access here inputs[100] = (bo.total_count() == 0) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5804:4: note: used in buffer access here inputs[78] = (gametime > Time(60 * 60 * 1000) && bo.total_count() == 0) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5817:4: note: used in buffer access here inputs[84] = (inputs_on_stock) ? 0 : -4; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5726:4: note: used in buffer access here inputs[33] = -1 * (bo.cnt_under_construction + bo.unoccupied_count) * 4; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5706:4: note: used in buffer access here inputs[21] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5757:4: note: used in buffer access here inputs[48] = (bo.max_needed_preciousness >= 10 && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5777:4: note: used in buffer access here inputs[62] = (player_statistics.any_enemy_seen_lately(gametime) && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5819:4: note: used in buffer access here inputs[86] = (inputs_on_stock) ? 0 : -8; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5829:4: note: used in buffer access here inputs[94] = (bo.inputs.empty()) ? 5 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5721:4: note: used in buffer access here inputs[28] = (bo.max_needed_preciousness >= 10) ? 4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5699:4: note: used in buffer access here inputs[18] = management_data.get_military_number_at(98) / 10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5801:5: note: used in buffer access here inputs[76] = (gametime < bo.last_building_built + Duration(20 * 60 * 1000)) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5818:4: note: used in buffer access here inputs[85] = (suppliers_exist) ? 0 : -4; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5715:4: note: used in buffer access here inputs[23] = (!player_statistics.strong_enough(player_number())) ? 5 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5799:5: note: used in buffer access here inputs[74] = (gametime < bo.last_building_built + Duration(2 * 60 * 1000)) ? -5 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5731:4: note: used in buffer access here inputs[35] = (!bo.ware_outputs.empty() && !bo.inputs.empty() && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5749:4: note: used in buffer access here inputs[42] = (!player_statistics.strong_enough(player_number())) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5826:4: note: used in buffer access here inputs[91] = (bo.build_material_shortage) ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5866:6: note: used in buffer access here inputs[114] = std::abs(management_data.get_military_number_at(172)) / 10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5867:6: note: used in buffer access here inputs[115] = 4; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5747:4: note: used in buffer access here inputs[40] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5688:4: note: used in buffer access here inputs[14] = (persistent_data->trees_around_cutters < 20) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5864:5: note: used in buffer access here inputs[113] = 4; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5680:4: note: used in buffer access here inputs[10] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5658:4: note: used in buffer access here inputs[3] = (gametime >= Time(25 * 60 * 1000) && bo.inputs.empty()) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5716:4: note: used in buffer access here inputs[24] = (bo.inputs.empty()) ? 6 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5723:4: note: used in buffer access here inputs[30] = bo.max_needed_preciousness / 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5805:4: note: used in buffer access here inputs[79] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5821:4: note: used in buffer access here inputs[88] = (workers_on_stock) ? 0 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5830:4: note: used in buffer access here inputs[95] = (bo.inputs.empty()) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5684:4: note: used in buffer access here inputs[12] = (gametime >= Time(15 * 60 * 1000)) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5772:4: note: used in buffer access here inputs[57] = (expansion_type.get_expansion_type() != ExpansionMode::kEconomy) ? -6 : 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5725:4: note: used in buffer access here inputs[32] = bo.max_needed_preciousness / 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5763:4: note: used in buffer access here inputs[51] = (gametime < Time(20 * 60 * 1000)) ? -4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5782:4: note: used in buffer access here inputs[64] = (gametime > Time(20 * 60 * 1000) && bo.total_count() == 0) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5822:4: note: used in buffer access here inputs[89] = (workers_on_stock) ? 0 : -6; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5831:4: note: used in buffer access here inputs[96] = stocked_wood_level < 25 ? -2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5848:4: note: used in buffer access here inputs[108] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5880:36: note: used in buffer access here const int16_t partial_input = inputs[i + kFNeuronBitSize]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5766:4: note: used in buffer access here inputs[54] = (spots_ < kSpotsEnough) ? -5 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5785:4: note: used in buffer access here inputs[67] = (gametime > Time(50 * 60 * 1000) && bo.total_count() <= 1) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5828:4: note: used in buffer access here inputs[93] = (numof_psites_in_constr < 8) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5713:5: note: used in buffer access here inputs[22] += bo.current_stats / 10; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5860:4: note: used in buffer access here inputs[111] = bo.current_stats / (bo.ware_outputs.size() + 1); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5697:4: note: used in buffer access here inputs[17] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5854:4: note: used in buffer access here inputs[110] = (bo.ware_outputs.size() == 1) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5664:4: note: used in buffer access here inputs[5] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5767:4: note: used in buffer access here inputs[55] = (bo.max_needed_preciousness >= 10 && ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5774:4: note: used in buffer access here inputs[59] = (bo.inputs.empty()) ? 5 : bo.current_stats / 10 - 5; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5816:4: note: used in buffer access here inputs[83] = (suppliers_exist) ? 0 : -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5871:4: note: used in buffer access here inputs[117] = -1 * (2 * bo.unoccupied_count); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5788:4: note: used in buffer access here inputs[69] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5719:4: note: used in buffer access here inputs[26] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy) ? 2 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5717:4: note: used in buffer access here inputs[25] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5728:5: note: used in buffer access here inputs[34] += ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5756:4: note: used in buffer access here inputs[47] = (!bo.ware_outputs.empty() && bo.current_stats > 85) ? 4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5823:4: note: used in buffer access here inputs[90] = (bo.is(BuildingAttribute::kBuildingMatProducer)) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5771:4: note: used in buffer access here inputs[56] = (expansion_type.get_expansion_type() != ExpansionMode::kEconomy) ? -8 : 1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5791:4: note: used in buffer access here inputs[70] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5773:4: note: used in buffer access here inputs[58] = (bo.total_count() == 0 && inputs_on_stock) ? 4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5671:4: note: used in buffer access here inputs[7] = (bo.cnt_under_construction + bo.unoccupied_count) * -1 * ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5682:4: note: used in buffer access here inputs[11] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5694:4: note: used in buffer access here inputs[16] = (player_statistics.any_enemy_seen_lately(gametime)) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5793:4: note: used in buffer access here inputs[71] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5844:5: note: used in buffer access here inputs[106] = -2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5724:4: note: used in buffer access here inputs[31] = ((bo.cnt_under_construction + bo.unoccupied_count) > 0) ? -5 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5797:5: note: used in buffer access here inputs[72] = (gametime < bo.last_building_built + Duration(3 * 60 * 1000)) ? -4 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5784:4: note: used in buffer access here inputs[66] = (gametime > Time(60 * 60 * 1000) && bo.total_count() <= 1) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5836:4: note: used in buffer access here inputs[101] = (bo.total_count() == 0) ? 6 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5846:4: note: used in buffer access here inputs[107] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5809:4: note: used in buffer access here inputs[80] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5750:4: note: used in buffer access here inputs[43] = (bo.inputs.empty()) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5691:4: note: used in buffer access here inputs[15] = (persistent_data->trees_around_cutters > 100) ? ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5741:5: note: used in buffer access here inputs[37] = -5; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:5803:4: note: used in buffer access here inputs[77] = (gametime > Time(35 * 60 * 1000) && bo.total_count() == 0) ? 3 : 0; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:6391:51: warning: parameter 'mineable_fields_count' set but not used [-Wunused-but-set-parameter] uint16_t* mineable_fields_count, ^ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:6391:51: warning: 'mineable_fields_count' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint16_t* mineable_fields_count, ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:6454:6: note: used in pointer arithmetic here ++mineable_fields_count; ^~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7191:14: warning: 'inputs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static bool inputs[2 * kFNeuronBitSize] = {false}; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7274:2: note: used in buffer access here inputs[48] = (bakeries_count_ == 0); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7198:2: note: used in buffer access here inputs[3] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7207:2: note: used in buffer access here inputs[8] = (has_enough_space); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7221:2: note: used in buffer access here inputs[19] = !(player_statistics.any_enemy_seen_lately(gametime)); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7270:2: note: used in buffer access here inputs[46] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7209:2: note: used in buffer access here inputs[10] = (has_enough_space); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7244:2: note: used in buffer access here inputs[31] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7210:2: note: used in buffer access here inputs[11] = !(has_enough_space); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7281:2: note: used in buffer access here inputs[55] = (mine_fields_stat.count_types() == kMineTypes); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7238:2: note: used in buffer access here inputs[28] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7277:2: note: used in buffer access here inputs[51] = (numof_psites_in_constr > 8); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7260:2: note: used in buffer access here inputs[40] = (player_statistics.get_player_land(pn) > 500); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7196:2: note: used in buffer access here inputs[2] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7216:2: note: used in buffer access here inputs[15] = !(expansion_type.get_expansion_type() == ExpansionMode::kEconomy); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7222:2: note: used in buffer access here inputs[20] = (player_statistics.get_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7233:2: note: used in buffer access here inputs[25] = !(highest_nonmil_prio_ > 18 + management_data.get_military_number_at(176) / 10); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7256:2: note: used in buffer access here inputs[36] = (player_statistics.get_player_land(pn) < 500); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7267:2: note: used in buffer access here inputs[45] = !(player_statistics.get_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7280:2: note: used in buffer access here inputs[54] = (!mine_fields_stat.has_critical_ore_fields()); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7247:2: note: used in buffer access here inputs[32] = (persistent_data->least_military_score < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7225:2: note: used in buffer access here inputs[21] = !(player_statistics.get_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7236:2: note: used in buffer access here inputs[27] = (player_statistics.get_modified_player_power(pn) <= ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7264:2: note: used in buffer access here inputs[44] = (player_statistics.get_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7200:2: note: used in buffer access here inputs[4] = (highest_nonmil_prio_ > 18 + std::abs(management_data.get_military_number_at(48))); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7217:2: note: used in buffer access here inputs[16] = (expansion_type.get_expansion_type() == ExpansionMode::kSpace); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7220:2: note: used in buffer access here inputs[18] = (player_statistics.any_enemy_seen_lately(gametime)); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7242:2: note: used in buffer access here inputs[30] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7204:2: note: used in buffer access here inputs[7] = !((numof_psites_in_constr + mines_in_constr()) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7259:2: note: used in buffer access here inputs[39] = (player_statistics.get_player_land(pn) < 1100); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7215:2: note: used in buffer access here inputs[14] = (expansion_type.get_expansion_type() == ExpansionMode::kEconomy); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7263:2: note: used in buffer access here inputs[43] = (player_statistics.get_player_land(pn) > 1100); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7218:2: note: used in buffer access here inputs[17] = !(expansion_type.get_expansion_type() == ExpansionMode::kSpace); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7232:2: note: used in buffer access here inputs[24] = (highest_nonmil_prio_ > 18 + management_data.get_military_number_at(65) / 10); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7262:2: note: used in buffer access here inputs[42] = (player_statistics.get_player_land(pn) > 900); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7276:2: note: used in buffer access here inputs[50] = (bakeries_count_ <= 1); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7293:34: note: used in buffer access here needs_boost_economy_score += (inputs[i]) ? 1 : -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7299:34: note: used in buffer access here needs_boost_economy_score += (inputs[kFNeuronBitSize + i]) ? 1 : -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7257:2: note: used in buffer access here inputs[37] = (player_statistics.get_player_land(pn) < 700); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7228:2: note: used in buffer access here inputs[22] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7261:2: note: used in buffer access here inputs[41] = (player_statistics.get_player_land(pn) > 700); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7253:2: note: used in buffer access here inputs[34] = player_statistics.strong_enough(pn); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7282:2: note: used in buffer access here inputs[56] = (mine_fields_stat.count_types() != kMineTypes); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7272:2: note: used in buffer access here inputs[47] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7234:2: note: used in buffer access here inputs[26] = (player_statistics.get_modified_player_power(pn) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7208:2: note: used in buffer access here inputs[9] = !(has_enough_space); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7212:2: note: used in buffer access here inputs[12] = (gametime > Time(45 * 60 * 1000)); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7275:2: note: used in buffer access here inputs[49] = (bakeries_count_ <= 1); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7202:2: note: used in buffer access here inputs[6] = ((numof_psites_in_constr + mines_in_constr()) > ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7213:2: note: used in buffer access here inputs[13] = !(gametime > Time(45 * 60 * 1000)); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7278:2: note: used in buffer access here inputs[52] = (numof_psites_in_constr < 8); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7284:2: note: used in buffer access here inputs[58] = (!mine_fields_stat.has_critical_ore_fields()); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7302:35: note: used in buffer access here increase_score_limit_score += (inputs[kFNeuronBitSize + i]) ? 1 : -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7240:2: note: used in buffer access here inputs[29] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7195:2: note: used in buffer access here inputs[1] = !(pow(msites_in_constr(), 2) > militarysites.size() + 2); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7250:2: note: used in buffer access here inputs[33] = !(persistent_data->least_military_score < ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7296:35: note: used in buffer access here increase_score_limit_score += (inputs[i]) ? 1 : -1; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7230:2: note: used in buffer access here inputs[23] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7254:2: note: used in buffer access here inputs[35] = !player_statistics.strong_enough(pn); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7283:2: note: used in buffer access here inputs[57] = (mine_fields_stat.has_critical_ore_fields()); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7279:2: note: used in buffer access here inputs[53] = (mine_fields_stat.has_critical_ore_fields()); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7258:2: note: used in buffer access here inputs[38] = (player_statistics.get_player_land(pn) < 900); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.cc:7201:2: note: used in buffer access here inputs[5] = !(highest_nonmil_prio_ > 18 + std::abs(management_data.get_military_number_at(49))); ^~~~~~ 97 warnings generated. [1721/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ai/test/CMakeFiles/test_ai.dir/ai_test_main.cc.o -MF src/ai/test/CMakeFiles/test_ai.dir/ai_test_main.cc.o.d -o src/ai/test/CMakeFiles/test_ai.dir/ai_test_main.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ai/test/ai_test_main.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/ai_test_main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/ai_test_main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1722/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ai/test/CMakeFiles/test_ai.dir/test_ai.cc.o -MF src/ai/test/CMakeFiles/test_ai.dir/test_ai.cc.o.d -o src/ai/test/CMakeFiles/test_ai.dir/test_ai.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ai.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:33: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 81 warnings generated. [1723/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ai/test/CMakeFiles/test_ai.dir/test_ga.cc.o -MF src/ai/test/CMakeFiles/test_ai.dir/test_ga.cc.o.d -o src/ai/test/CMakeFiles/test_ai.dir/test_ga.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/test/test_ga.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:33: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 81 warnings generated. [1724/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base.dir/format/tree.cc.o -MF src/base/CMakeFiles/base.dir/format/tree.cc.o.d -o src/base/CMakeFiles/base.dir/format/tree.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/wildcard_node.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/boolean_node.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/format/string_node.h:38:21: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* append(char* out, const ArgType t, const Argument arg_u, bool) const override { ~~~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/string_node.h:47:65: note: used in pointer arithmetic here for (const char* a = arg; *a && written < precision_; ++a, ++out, ++written) { ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/string_node.h:62:47: note: used in pointer arithmetic here for (size_t i = min_width_ - arg_len; i; ++out, --i) { ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/string_node.h:52:23: note: used in pointer arithmetic here for (; written; ++out, --written) { ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/string_node.h:66:38: note: used in pointer arithmetic here for (size_t l = arg_len; l; --l, ++out, ++arg) { ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/string_node.h:42:15: warning: 'arg' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* arg = arg_u.string_val; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/string_node.h:66:45: note: used in pointer arithmetic here for (size_t l = arg_len; l; --l, ++out, ++arg) { ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/string_node.h:47:21: warning: 'a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (const char* a = arg; *a && written < precision_; ++a, ++out, ++written) { ~~~~~~~~~~~~^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/string_node.h:47:60: note: used in pointer arithmetic here for (const char* a = arg; *a && written < precision_; ++a, ++out, ++written) { ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/wildcard_node.h:23: /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:30:28: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline char* append(char* out, const ArgType t, Argument, bool) const override { ~~~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:35:35: note: used in pointer arithmetic here for (size_t l = len_; l; --l, ++out, ++it) { ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:34:15: warning: 'it' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* it = content_.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:35:42: note: used in pointer arithmetic here for (size_t l = len_; l; --l, ++out, ++it) { ^~ /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:47:28: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline char* append(char* out, const ArgType t, Argument, bool) const override { ~~~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:52:10: note: used in pointer arithmetic here return out + 1; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:60:28: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline char* append(char* out, const ArgType t, const Argument arg, bool) const override { ~~~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:72:6: note: used in pointer arithmetic here *(out + 1) = '?'; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:73:11: note: used in pointer arithmetic here return out + 2; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:77:10: note: used in pointer arithmetic here return out + 1; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:68:6: note: used in pointer arithmetic here *(out + 1) = '@' + arg.char_val; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/common_nodes.h:69:11: note: used in pointer arithmetic here return out + 2; ^~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/wildcard_node.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/float_node.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:38:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] *(out + d - 1) = (uppercase ? 'A' : 'a') + digit - 10; ~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:40:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] *(out + d - 1) = '0' + digit; ~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:31:10: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* out, uint64_t arg, const size_t width, bool hexadecimal = false, bool uppercase = false) { ~~~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:45:9: note: used in pointer arithmetic here return out + width; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:38:6: note: used in pointer arithmetic here *(out + d - 1) = (uppercase ? 'A' : 'a') + digit - 10; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:40:6: note: used in pointer arithmetic here *(out + d - 1) = '0' + digit; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:63:37: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline char* write_minus_sign(char* out, bool localize) { ~~~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:67:6: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:71:5: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:65:20: warning: 'c' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (const char* c = kLocalizedMinusSign; *c; ++c) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:65:51: note: used in pointer arithmetic here for (const char* c = kLocalizedMinusSign; *c; ++c) { ^ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:80:43: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline char* write_forced_plus_sign(char* out, bool localize, bool is_zero = false) { ~~~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:84:6: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:88:5: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:82:20: warning: 'c' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (const char* c = kDigitWidthSpace; *c; ++c) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/write_number.h:82:48: note: used in pointer arithmetic here for (const char* c = kDigitWidthSpace; *c; ++c) { ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/wildcard_node.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/format/float_node.h:31:44: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline char* write_decimal_separator(char* out, bool localize) { ~~~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/float_node.h:39:5: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/float_node.h:35:6: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/float_node.h:33:20: warning: 'dec_sep' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (const char* dec_sep = pgettext("decimal_separator", "."); *dec_sep; ++dec_sep) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/float_node.h:33:78: note: used in pointer arithmetic here for (const char* dec_sep = pgettext("decimal_separator", "."); *dec_sep; ++dec_sep) { ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/float_node.h:56:21: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* append(char* out, const ArgType t, Argument arg_u, const bool localize) const override { ~~~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/float_node.h:170:6: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/float_node.h:139:7: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/float_node.h:153:7: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:80:51: warning: 'format_string' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] inline void Tree::parse_literal_node(const char*& format_string) { ~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:83:60: note: used in pointer arithmetic here for (; *format_string != '\0' && *format_string != '%'; ++format_string, ++len) { ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:108:51: warning: 'format_string' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] inline void Tree::parse_format_index(const char*& format_string) { ~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:113:5: note: used in pointer arithmetic here ++format_string; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:117:56: warning: 'format_string' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] inline bool Tree::parse_index_or_minwidth(const char*& format_string) { ~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:127:5: note: used in pointer arithmetic here ++format_string; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:136:5: note: used in pointer arithmetic here ++format_string; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:154:57: warning: 'format_string' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] inline void Tree::parse_flags_and_minwidth(const char*& format_string) { ~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:172:5: note: used in pointer arithmetic here ++format_string; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:156:12: note: used in pointer arithmetic here for (;; ++format_string) { ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:176:48: warning: 'format_string' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] inline void Tree::parse_precision(const char*& format_string) { ~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:177:4: note: used in pointer arithmetic here ++format_string; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:185:5: note: used in pointer arithmetic here ++format_string; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:189:73: warning: 'format_string' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] inline std::unique_ptr Tree::parse_type_spec(const char*& format_string) { ~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:214:35: note: used in pointer arithmetic here for (; *format_string == 'l'; ++format_string) { ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:248:41: warning: 'format_string' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] void Tree::parse_next_node(const char*& format_string) { ~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:258:4: note: used in pointer arithmetic here ++format_string; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:264:5: note: used in pointer arithmetic here ++format_string; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:299:4: note: used in pointer arithmetic here ++format_string; ^~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/wildcard_node.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:42:21: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* append(char* out, const ArgType t, Argument arg_u, const bool localize) const override { ~~~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/wildcard_node.h:44:26: note: in instantiation of member function 'format_impl::NumberNodeT::append' requested here return IntNode::node_.append(out, t, arg_u, localize); ^ /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:120:6: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:105:4: note: used in pointer arithmetic here out += 2; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:111:7: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:93:7: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:104:6: note: used in pointer arithmetic here *(out + 1) = 'x'; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:42:21: warning: 'out' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* append(char* out, const ArgType t, Argument arg_u, const bool localize) const override { ~~~~~~^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/wildcard_node.h:46:27: note: in instantiation of member function 'format_impl::NumberNodeT::append' requested here return UintNode::node_.append(out, t, arg_u, localize); ^ /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:105:4: note: used in pointer arithmetic here out += 2; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:93:7: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:111:7: note: used in pointer arithmetic here ++out; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:104:6: note: used in pointer arithmetic here *(out + 1) = 'x'; ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/format/number_node.h:120:6: note: used in pointer arithmetic here ++out; ^~~ 29 warnings generated. [1725/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base.dir/i18n.cc.o -MF src/base/CMakeFiles/base.dir/i18n.cc.o.d -o src/base/CMakeFiles/base.dir/i18n.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/i18n.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1726/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base.dir/multithreading.cc.o -MF src/base/CMakeFiles/base.dir/multithreading.cc.o.d -o src/base/CMakeFiles/base.dir/multithreading.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/multithreading.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/multithreading.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/multithreading.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1727/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base.dir/log.cc.o -MF src/base/CMakeFiles/base.dir/log.cc.o.d -o src/base/CMakeFiles/base.dir/log.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/log.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1728/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base.dir/string.cc.o -MF src/base/CMakeFiles/base.dir/string.cc.o.d -o src/base/CMakeFiles/base.dir/string.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/string.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:25:19: warning: 'c' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (const char* c = str.c_str(); *c != 0; ++c) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:25:47: note: used in pointer arithmetic here for (const char* c = str.c_str(); *c != 0; ++c) { ^ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:32:14: warning: 'a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* a = str1.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:34:35: note: used in pointer arithmetic here for (; (*a != 0) && (*b != 0); ++a, ++b) { ^ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:33:14: warning: 'b' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* b = str2.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:34:40: note: used in pointer arithmetic here for (; (*a != 0) && (*b != 0); ++a, ++b) { ^ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:43:14: warning: 'a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* a = str.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:45:35: note: used in pointer arithmetic here for (; (*a != 0) && (*b != 0); ++a, ++b) { ^ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:44:14: warning: 'b' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* b = test.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:45:40: note: used in pointer arithmetic here for (; (*a != 0) && (*b != 0); ++a, ++b) { ^ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:54:14: warning: 'a' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* a = str.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:73:5: note: used in pointer arithmetic here --a; ^ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:57:20: note: used in pointer arithmetic here for (; *a != 0; ++a, ++len_a) { ^ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:61:14: warning: 'b' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* b = test.c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:72:5: note: used in pointer arithmetic here --b; ^ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:63:20: note: used in pointer arithmetic here for (; *b != 0; ++b) { ^ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:86:19: warning: 'c' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (const char* c = str.c_str(); *c != 0; ++c) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/string.cc:86:47: note: used in pointer arithmetic here for (const char* c = str.c_str(); *c != 0; ++c) { ^ 11 warnings generated. [1729/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base_macros.dir/macros.cc.o -MF src/base/CMakeFiles/base_macros.dir/macros.cc.o.d -o src/base/CMakeFiles/base_macros.dir/macros.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/macros.cc [1730/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase_macros.a && /usr/bin/ar qc src/base/libbase_macros.a src/base/CMakeFiles/base_macros.dir/macros.cc.o && /usr/bin/ranlib src/base/libbase_macros.a && : [1731/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base_exceptions.dir/exceptions.cc.o -MF src/base/CMakeFiles/base_exceptions.dir/exceptions.cc.o.d -o src/base/CMakeFiles/base_exceptions.dir/exceptions.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/exceptions.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/exceptions.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/warning.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1732/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase_exceptions.a && /usr/bin/ar qc src/base/libbase_exceptions.a src/base/CMakeFiles/base_exceptions.dir/exceptions.cc.o && /usr/bin/ranlib src/base/libbase_exceptions.a && : [1733/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base_utf8.dir/utf8.cc.o -MF src/base/CMakeFiles/base_utf8.dir/utf8.cc.o.d -o src/base/CMakeFiles/base_utf8.dir/utf8.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/utf8.cc [1734/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase_utf8.a && /usr/bin/ar qc src/base/libbase_utf8.a src/base/CMakeFiles/base_utf8.dir/utf8.cc.o && /usr/bin/ranlib src/base/libbase_utf8.a && : [1735/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base_geometry.dir/vector.cc.o -MF src/base/CMakeFiles/base_geometry.dir/vector.cc.o.d -o src/base/CMakeFiles/base_geometry.dir/vector.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/vector.cc [1736/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase_geometry.a && /usr/bin/ar qc src/base/libbase_geometry.a src/base/CMakeFiles/base_geometry.dir/vector.cc.o && /usr/bin/ranlib src/base/libbase_geometry.a && : [1737/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base_md5.dir/md5.cc.o -MF src/base/CMakeFiles/base_md5.dir/md5.cc.o.d -o src/base/CMakeFiles/base_md5.dir/md5.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:27: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:66:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++ctx->total[1]; ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:70:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] memcpy(&ctx->buffer[bytes], fillbuf, pad); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:74:32: warning: unsafe buffer access [-Wunsafe-buffer-usage] *reinterpret_cast(&ctx->buffer[bytes + pad]) = (ctx->total[0] << 3); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:75:32: warning: unsafe buffer access [-Wunsafe-buffer-usage] *reinterpret_cast(&ctx->buffer[bytes + pad + 4]) = ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:76:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:83:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] static_cast(resbuf)[1] = ctx->B; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:84:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] static_cast(resbuf)[2] = ctx->C; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:85:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] static_cast(resbuf)[3] = ctx->D; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:98:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] memcpy(&ctx->buffer[left_over], buffer, add); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:104:25: warning: unsafe buffer access [-Wunsafe-buffer-usage] memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~63], (left_over + add) & 63); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:108:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] buffer = static_cast(buffer) + add; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:115:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] buffer = static_cast(buffer) + (len & ~63); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:153:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++ctx->total[1]; ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:139:11: warning: 'correct_words' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] uint32_t correct_words[16]; ~~~~~~~~~^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:222:3: note: used in buffer access here OP(FG, C, D, A, B, 11, 14, 0x265e5a51); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:232:3: note: used in buffer access here OP(FG, A, B, C, D, 13, 5, 0xa9e3e905); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:242:3: note: used in buffer access here OP(FH, A, B, C, D, 1, 4, 0xa4beea44); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:264:3: note: used in buffer access here OP(FI, A, B, C, D, 8, 6, 0x6fa87e4f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:227:3: note: used in buffer access here OP(FG, B, C, D, A, 4, 20, 0xe7d3fbc8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:251:3: note: used in buffer access here OP(FH, D, A, B, C, 12, 11, 0xe6db99e5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:234:3: note: used in buffer access here OP(FG, C, D, A, B, 7, 14, 0x676f02d9); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:266:3: note: used in buffer access here OP(FI, C, D, A, B, 6, 15, 0xa3014314); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:253:3: note: used in buffer access here OP(FH, B, C, D, A, 2, 23, 0xc4ac5665); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:221:3: note: used in buffer access here OP(FG, D, A, B, C, 6, 9, 0xc040b340); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:244:3: note: used in buffer access here OP(FH, C, D, A, B, 7, 16, 0xf6bb4b60); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:224:3: note: used in buffer access here OP(FG, A, B, C, D, 5, 5, 0xd62f105d); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:241:3: note: used in buffer access here OP(FH, B, C, D, A, 14, 23, 0xfde5380c); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:259:3: note: used in buffer access here OP(FI, B, C, D, A, 5, 21, 0xfc93a039); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:265:3: note: used in buffer access here OP(FI, D, A, B, C, 15, 10, 0xfe2ce6e0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:250:3: note: used in buffer access here OP(FH, A, B, C, D, 9, 4, 0xd9d4d039); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:269:3: note: used in buffer access here OP(FI, D, A, B, C, 11, 10, 0xbd3af235); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:257:3: note: used in buffer access here OP(FI, D, A, B, C, 7, 10, 0x432aff97); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:249:3: note: used in buffer access here OP(FH, B, C, D, A, 6, 23, 0x04881d05); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:263:3: note: used in buffer access here OP(FI, B, C, D, A, 1, 21, 0x85845dd1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:226:3: note: used in buffer access here OP(FG, C, D, A, B, 15, 14, 0xd8a1e681); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:248:3: note: used in buffer access here OP(FH, C, D, A, B, 3, 16, 0xd4ef3085); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:243:3: note: used in buffer access here OP(FH, D, A, B, C, 4, 11, 0x4bdecfa9); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:258:3: note: used in buffer access here OP(FI, C, D, A, B, 14, 15, 0xab9423a7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:246:3: note: used in buffer access here OP(FH, A, B, C, D, 13, 4, 0x289b7ec6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:261:3: note: used in buffer access here OP(FI, D, A, B, C, 3, 10, 0x8f0ccc92); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:233:3: note: used in buffer access here OP(FG, D, A, B, C, 2, 9, 0xfcefa3f8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:238:3: note: used in buffer access here OP(FH, A, B, C, D, 5, 4, 0xfffa3942); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:270:3: note: used in buffer access here OP(FI, C, D, A, B, 2, 15, 0x2ad7d2bb); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:220:3: note: used in buffer access here OP(FG, A, B, C, D, 1, 5, 0xf61e2562); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:245:3: note: used in buffer access here OP(FH, B, C, D, A, 10, 23, 0xbebfbc70); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:260:3: note: used in buffer access here OP(FI, A, B, C, D, 12, 6, 0x655b59c3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:268:3: note: used in buffer access here OP(FI, A, B, C, D, 4, 6, 0xf7537e82); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:239:3: note: used in buffer access here OP(FH, D, A, B, C, 8, 11, 0x8771f681); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:228:3: note: used in buffer access here OP(FG, A, B, C, D, 9, 5, 0x21e1cde6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:231:3: note: used in buffer access here OP(FG, B, C, D, A, 8, 20, 0x455a14ed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:230:3: note: used in buffer access here OP(FG, C, D, A, B, 3, 14, 0xf4d50d87); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:252:3: note: used in buffer access here OP(FH, C, D, A, B, 15, 16, 0x1fa27cf8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:229:3: note: used in buffer access here OP(FG, D, A, B, C, 14, 9, 0xc33707d6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:271:3: note: used in buffer access here OP(FI, B, C, D, A, 9, 21, 0xeb86d391); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:225:3: note: used in buffer access here OP(FG, D, A, B, C, 10, 9, 0x02441453); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:267:3: note: used in buffer access here OP(FI, B, C, D, A, 13, 21, 0x4e0811a1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:262:3: note: used in buffer access here OP(FI, C, D, A, B, 10, 15, 0xffeff47d); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:235:3: note: used in buffer access here OP(FG, B, C, D, A, 12, 20, 0x8d2a4c8a); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:240:3: note: used in buffer access here OP(FH, C, D, A, B, 11, 16, 0x6d9d6122); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:214:21: note: expanded from macro 'OP' a += f(b, c, d) + correct_words[k] + T; \ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:140:18: warning: 'words' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint32_t const* words = static_cast(buffer); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:196:3: note: used in pointer arithmetic here OP(D, A, B, C, 12, 0x4787c62a); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:198:3: note: used in pointer arithmetic here OP(B, C, D, A, 22, 0xfd469501); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:203:3: note: used in pointer arithmetic here OP(A, B, C, D, 7, 0x6b901122); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:205:3: note: used in pointer arithmetic here OP(C, D, A, B, 17, 0xa679438e); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:197:3: note: used in pointer arithmetic here OP(C, D, A, B, 17, 0xa8304613); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:201:3: note: used in pointer arithmetic here OP(C, D, A, B, 17, 0xffff5bb1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:202:3: note: used in pointer arithmetic here OP(B, C, D, A, 22, 0x895cd7be); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:191:3: note: used in pointer arithmetic here OP(A, B, C, D, 7, 0xd76aa478); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:200:3: note: used in pointer arithmetic here OP(D, A, B, C, 12, 0x8b44f7af); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:199:3: note: used in pointer arithmetic here OP(A, B, C, D, 7, 0x698098d8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:192:3: note: used in pointer arithmetic here OP(D, A, B, C, 12, 0xe8c7b756); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:193:3: note: used in pointer arithmetic here OP(C, D, A, B, 17, 0x242070db); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:194:3: note: used in pointer arithmetic here OP(B, C, D, A, 22, 0xc1bdceee); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:204:3: note: used in pointer arithmetic here OP(D, A, B, C, 12, 0xfd987193); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:206:3: note: used in pointer arithmetic here OP(B, C, D, A, 22, 0x49b40821); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:142:31: note: used in pointer arithmetic here uint32_t const* const endp = words + nwords; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:195:3: note: used in pointer arithmetic here OP(A, B, C, D, 7, 0xf57c0faf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:175:5: note: expanded from macro 'OP' ++words; \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:159:13: warning: 'cwp' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint32_t* cwp = correct_words; ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:204:3: note: used in pointer arithmetic here OP(D, A, B, C, 12, 0xfd987193); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:196:3: note: used in pointer arithmetic here OP(D, A, B, C, 12, 0x4787c62a); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:203:3: note: used in pointer arithmetic here OP(A, B, C, D, 7, 0x6b901122); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:193:3: note: used in pointer arithmetic here OP(C, D, A, B, 17, 0x242070db); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:199:3: note: used in pointer arithmetic here OP(A, B, C, D, 7, 0x698098d8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:195:3: note: used in pointer arithmetic here OP(A, B, C, D, 7, 0xf57c0faf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:192:3: note: used in pointer arithmetic here OP(D, A, B, C, 12, 0xe8c7b756); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:206:3: note: used in pointer arithmetic here OP(B, C, D, A, 22, 0x49b40821); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:198:3: note: used in pointer arithmetic here OP(B, C, D, A, 22, 0xfd469501); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:200:3: note: used in pointer arithmetic here OP(D, A, B, C, 12, 0x8b44f7af); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:197:3: note: used in pointer arithmetic here OP(C, D, A, B, 17, 0xa8304613); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:201:3: note: used in pointer arithmetic here OP(C, D, A, B, 17, 0xffff5bb1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:194:3: note: used in pointer arithmetic here OP(B, C, D, A, 22, 0xc1bdceee); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:205:3: note: used in pointer arithmetic here OP(C, D, A, B, 17, 0xa679438e); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:202:3: note: used in pointer arithmetic here OP(B, C, D, A, 22, 0x895cd7be); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:191:3: note: used in pointer arithmetic here OP(A, B, C, D, 7, 0xd76aa478); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.cc:174:24: note: expanded from macro 'OP' a += FF(b, c, d) + (*cwp++ = (*words)) + T; \ ^~~ 17 warnings generated. [1738/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase_md5.a && /usr/bin/ar qc src/base/libbase_md5.a src/base/CMakeFiles/base_md5.dir/md5.cc.o && /usr/bin/ranlib src/base/libbase_md5.a && : [1739/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base_random.dir/random.cc.o -MF src/base/CMakeFiles/base_random.dir/random.cc.o.d -o src/base/CMakeFiles/base_random.dir/random.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/random.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:19: /pobj/widelands-1.1/widelands-1.1/src/base/random.h:25:23: warning: 'rng_sbox' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] extern const uint32_t rng_sbox[256]; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:32:11: note: used in buffer access here state1 = SIMPLE_RAND(state1) + s; ^~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.h:54:38: note: expanded from macro 'SIMPLE_RAND' #define SIMPLE_RAND(x) (((x) >> 8) ^ rng_sbox[(x)&0xff]) ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.h:25:23: warning: 'rng_sbox' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] extern const uint32_t rng_sbox[256]; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:38:11: note: used in buffer access here state1 = SIMPLE_RAND(state1); ^~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.h:54:38: note: expanded from macro 'SIMPLE_RAND' #define SIMPLE_RAND(x) (((x) >> 8) ^ rng_sbox[(x)&0xff]) ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:37:11: note: used in buffer access here state0 = SIMPLE_RAND(state0); ^~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.h:54:38: note: expanded from macro 'SIMPLE_RAND' #define SIMPLE_RAND(x) (((x) >> 8) ^ rng_sbox[(x)&0xff]) ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:111:11: warning: 'values' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] uint32_t values[4]; ~~~~~~~~~^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:127:44: note: used in buffer access here (values[2] & 0xffff0000) >> 16, (values[3] & 0xffff0000) >> 16); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:125:11: note: used in buffer access here values[1] & 0xffff, values[2] & 0xffff, values[3] & 0xffff, ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:125:31: note: used in buffer access here values[1] & 0xffff, values[2] & 0xffff, values[3] & 0xffff, ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:125:51: note: used in buffer access here values[1] & 0xffff, values[2] & 0xffff, values[3] & 0xffff, ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:127:12: note: used in buffer access here (values[2] & 0xffff0000) >> 16, (values[3] & 0xffff0000) >> 16); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/random.cc:126:44: note: used in buffer access here (values[0] & 0xffff0000) >> 16, (values[1] & 0xffff0000) >> 16, ^~~~~~ 18 warnings generated. [1740/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base_scoped_timer.dir/scoped_timer.cc.o -MF src/base/CMakeFiles/base_scoped_timer.dir/scoped_timer.cc.o.d -o src/base/CMakeFiles/base_scoped_timer.dir/scoped_timer.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/scoped_timer.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/scoped_timer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/scoped_timer.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/scoped_timer.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1741/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base_time_string.dir/time_string.cc.o -MF src/base/CMakeFiles/base_time_string.dir/time_string.cc.o.d -o src/base/CMakeFiles/base_time_string.dir/time_string.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:27:6: warning: 'timestring_buffer' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char timestring_buffer[] = ~~~~~^~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:66:3: note: used in buffer access here timestring_buffer[12] = '0' + hour; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:41:3: note: used in buffer access here timestring_buffer[1] = '0' + year / 100; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:64:3: note: used in buffer access here timestring_buffer[11] = '0' + hour / 10; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:78:3: note: used in buffer access here timestring_buffer[17] = '0' + sec / 10; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:57:3: note: used in buffer access here timestring_buffer[8] = '0' + mday / 10; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:71:3: note: used in buffer access here timestring_buffer[14] = '0' + min / 10; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:59:3: note: used in buffer access here timestring_buffer[9] = '0' + mday; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:52:3: note: used in buffer access here timestring_buffer[6] = '0' + mon; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:45:3: note: used in buffer access here timestring_buffer[3] = '0' + year; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:73:3: note: used in buffer access here timestring_buffer[15] = '0' + min; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:50:3: note: used in buffer access here timestring_buffer[5] = '0' + mon / 10; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:80:3: note: used in buffer access here timestring_buffer[18] = '0' + sec; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:43:3: note: used in buffer access here timestring_buffer[2] = '0' + year / 10; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:29:6: warning: 'gamestringbuffer' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char gamestringbuffer[] = "000:00:00"; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:165:2: note: used in buffer access here gamestringbuffer[8] = '0' + time % 10; ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:167:2: note: used in buffer access here gamestringbuffer[5] = '0' + (time /= 6) % 10; ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:169:2: note: used in buffer access here gamestringbuffer[2] = '0' + (time /= 6) % 10; ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:166:2: note: used in buffer access here gamestringbuffer[7] = '0' + (time /= 10) % 6; ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:170:2: note: used in buffer access here gamestringbuffer[1] = '0' + (time /= 10) % 10; ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/time_string.cc:168:2: note: used in buffer access here gamestringbuffer[4] = '0' + (time /= 10) % 6; ^~~~~~~~~~~~~~~~ 5 warnings generated. [1742/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base_times.dir/times.cc.o -MF src/base/CMakeFiles/base_times.dir/times.cc.o.d -o src/base/CMakeFiles/base_times.dir/times.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/times.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. [1743/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base_math.dir/math.cc.o -MF src/base/CMakeFiles/base_math.dir/math.cc.o.d -o src/base/CMakeFiles/base_math.dir/math.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/math.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/math.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/warning.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1744/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase_math.a && /usr/bin/ar qc src/base/libbase_math.a src/base/CMakeFiles/base_math.dir/math.cc.o && /usr/bin/ranlib src/base/libbase_math.a && : [1745/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/CMakeFiles/base_test.dir/test.cc.o -MF src/base/CMakeFiles/base_test.dir/test.cc.o.d -o src/base/CMakeFiles/base_test.dir/test.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/test.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1746/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/test/CMakeFiles/test_base.dir/base_test_main.cc.o -MF src/base/test/CMakeFiles/test_base.dir/base_test_main.cc.o.d -o src/base/test/CMakeFiles/test_base.dir/base_test_main.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/test/base_test_main.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/base_test_main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/base_test_main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1747/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/test/CMakeFiles/test_base.dir/test_geometry.cc.o -MF src/base/test/CMakeFiles/test_base.dir/test_geometry.cc.o.d -o src/base/test/CMakeFiles/test_base.dir/test_geometry.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1748/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/test/CMakeFiles/test_base.dir/test_math.cc.o -MF src/base/test/CMakeFiles/test_base.dir/test_math.cc.o.d -o src/base/test/CMakeFiles/test_base.dir/test_math.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1749/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/test/CMakeFiles/test_base.dir/test_md5.cc.o -MF src/base/test/CMakeFiles/test_base.dir/test_md5.cc.o.d -o src/base/test/CMakeFiles/test_base.dir/test_md5.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/test/test_md5.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_md5.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_md5.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_md5.cc:21: /pobj/widelands-1.1/widelands-1.1/src/base/md5.h:87:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] ctx.total[0] = ctx.total[1] = 0; ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.h:74:3: note: in instantiation of member function 'MD5Checksum::reset' requested here reset(); ^ /pobj/widelands-1.1/widelands-1.1/src/base/test/test_md5.cc:28:20: note: in instantiation of member function 'MD5Checksum::MD5Checksum' requested here SimpleMD5Checksum md5sum; ^ 4 warnings generated. [1750/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/test/CMakeFiles/test_base.dir/test_times.cc.o -MF src/base/test/CMakeFiles/test_base.dir/test_times.cc.o.d -o src/base/test/CMakeFiles/test_base.dir/test_times.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/test/test_times.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_times.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_times.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1751/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/test/CMakeFiles/test_base.dir/test_time_string.cc.o -MF src/base/test/CMakeFiles/test_base.dir/test_time_string.cc.o.d -o src/base/test/CMakeFiles/test_base.dir/test_time_string.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/test/test_time_string.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_time_string.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_time_string.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1752/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/test/CMakeFiles/test_base.dir/test_utf8.cc.o -MF src/base/test/CMakeFiles/test_base.dir/test_utf8.cc.o.d -o src/base/test/CMakeFiles/test_base.dir/test_utf8.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/test/test_utf8.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_utf8.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_utf8.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1753/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/base/test/CMakeFiles/test_base.dir/test_string.cc.o -MF src/base/test/CMakeFiles/test_base.dir/test_string.cc.o.d -o src/base/test/CMakeFiles/test_base.dir/test_string.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/base/test/test_string.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_string.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test/test_string.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1754/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/chat/CMakeFiles/chat.dir/chat.cc.o -MF src/chat/CMakeFiles/chat.dir/chat.cc.o.d -o src/chat/CMakeFiles/chat.dir/chat.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/chat/chat.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/chat/chat.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/chat/chat.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1755/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/cmd_call_economy_balance.cc.o -MF src/economy/CMakeFiles/economy.dir/cmd_call_economy_balance.cc.o.d -o src/economy/CMakeFiles/economy.dir/cmd_call_economy_balance.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.h:22: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.cc:26: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 warnings generated. [1756/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/economy.cc.o -MF src/economy/CMakeFiles/economy.dir/economy.cc.o.d -o src/economy/CMakeFiles/economy.dir/economy.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:19: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.h:22: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:37: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:81:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] target_quantities_[i] = tq; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:361:23: warning: unsafe buffer access [-Wunsafe-buffer-usage] TargetQuantity& tq = target_quantities_[ware_or_worker_type]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:616:29: warning: unsafe buffer access [-Wunsafe-buffer-usage] TargetQuantity other_tq = e.target_quantities_[w_index]; ^~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:617:29: warning: unsafe buffer access [-Wunsafe-buffer-usage] TargetQuantity& this_tq = target_quantities_[w_index]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:653:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] e->target_quantities_[w_index] = target_quantities_[w_index]; ^~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.cc:653:36: warning: unsafe buffer access [-Wunsafe-buffer-usage] e->target_quantities_[w_index] = target_quantities_[w_index]; ^~~~~~~~~~~~~~~~~~ 84 warnings generated. [1757/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/economy_data_packet.cc.o -MF src/economy/CMakeFiles/economy.dir/economy_data_packet.cc.o.d -o src/economy/CMakeFiles/economy.dir/economy_data_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:26: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:62:39: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::TargetQuantity& tq = eco_->target_quantities_[i]; ^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:78:40: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::TargetQuantity& tq = other_eco->target_quantities_[i]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:107:39: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::TargetQuantity& tq = eco_->target_quantities_[i]; ^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy_data_packet.cc:148:39: warning: unsafe buffer access [-Wunsafe-buffer-usage] const Economy::TargetQuantity& tq = eco_->target_quantities_[w_index]; ^~~~~~~~~~~~~~~~~~~~~~~~ 81 warnings generated. [1758/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/expedition_bootstrap.cc.o -MF src/economy/CMakeFiles/economy.dir/expedition_bootstrap.cc.o.d -o src/economy/CMakeFiles/economy.dir/expedition_bootstrap.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.cc:30: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1759/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/ferry_fleet.cc.o -MF src/economy/CMakeFiles/economy.dir/ferry_fleet.cc.o.d -o src/economy/CMakeFiles/economy.dir/ferry_fleet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:25: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:26: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:35: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:415:9: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] pending_ferry_requests_.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:424:80: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] molog(egbase.get_gametime(), "%" PRIuS " ferries and %" PRIuS " waterways\n", ferries_.size(), ~~~~~~~~ ^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:425:8: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] pending_ferry_requests_.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:33: /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.h:164:16: warning: 'direction' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] int8_t const* direction = ((cur.x + cur.y) & 1) ? order1 : order2; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.cc:129:15: note: in instantiation of member function 'Widelands::MapAStar::step' requested here while (astar.step(cur, cost)) { ^ /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.h:167:31: note: used in pointer arithmetic here for (uint32_t i = 6; i; i--, direction++) { ^~~~~~~~~ 83 warnings generated. [1760/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/flag.cc.o -MF src/economy/CMakeFiles/economy.dir/flag.cc.o.d -o src/economy/CMakeFiles/economy.dir/flag.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:19: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:27: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:40: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:40: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:200:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] wares_[i].ware->set_economy(e); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:259:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] roads_[dir - 1] = road; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:260:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] roads_[dir - 1]->set_economy(get_economy(wwWARE), wwWARE); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:261:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] roads_[dir - 1]->set_economy(get_economy(wwWORKER), wwWORKER); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:270:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] roads_[dir - 1]->set_economy(nullptr, wwWARE); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:271:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] roads_[dir - 1]->set_economy(nullptr, wwWORKER); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:272:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] roads_[dir - 1] = nullptr; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:350:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if ((roads_[dir - 1] != nullptr) && Road::is_road_descr(&roads_[dir - 1]->descr())) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:350:59: warning: unsafe buffer access [-Wunsafe-buffer-usage] if ((roads_[dir - 1] != nullptr) && Road::is_road_descr(&roads_[dir - 1]->descr())) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:351:30: warning: unsafe buffer access [-Wunsafe-buffer-usage] return dynamic_cast(roads_[dir - 1]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:356:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if ((roads_[dir - 1] != nullptr) && Waterway::is_waterway_descr(&roads_[dir - 1]->descr())) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:356:67: warning: unsafe buffer access [-Wunsafe-buffer-usage] if ((roads_[dir - 1] != nullptr) && Waterway::is_waterway_descr(&roads_[dir - 1]->descr())) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:357:34: warning: unsafe buffer access [-Wunsafe-buffer-usage] return dynamic_cast(roads_[dir - 1]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:452:20: warning: unsafe buffer access [-Wunsafe-buffer-usage] PendingWare& pi = wares_[ware_filled_++]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:488:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!wares_[i].pending) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:492:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (wares_[i].nextstep != &dest) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:512:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!wares_[i].pending) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:516:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (wares_[i].nextstep != &destflag) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:520:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (wares_[i].priority > highest_pri) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:521:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] highest_pri = wares_[i].priority; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:525:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (wares_[i].priority < kMaxTransferPriority) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:526:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] wares_[i].priority++; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:532:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] wares_[i_pri].pending = false; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:549:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (wares_[i].pending) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:553:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (wares_[i].nextstep != &destflag) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:557:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (wares_[i].priority < lowest_prio) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:558:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] lowest_prio = wares_[i].priority; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:564:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] wares_[i_pri].pending = true; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:565:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] wares_[i_pri].ware->update(game); // will call call_carrier() if necessary ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:596:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (wares_[i].nextstep != &dest) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:601:26: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (best_index < 0 || !wares_[i].pending) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:611:29: warning: unsafe buffer access [-Wunsafe-buffer-usage] WareInstance* const ware = wares_[best_index].ware; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:613:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] memmove(&wares_[best_index], &wares_[best_index + 1], ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:613:32: warning: unsafe buffer access [-Wunsafe-buffer-usage] memmove(&wares_[best_index], &wares_[best_index + 1], ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:658:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (wares_[i].nextstep == &dest) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:673:16: warning: unsafe buffer access [-Wunsafe-buffer-usage] rv.push_back(wares_[i].ware); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:685:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (wares_[i].ware != ware) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:690:12: warning: unsafe buffer access [-Wunsafe-buffer-usage] memmove(&wares_[i], &wares_[i + 1], sizeof(wares_[0]) * (ware_filled_ - i)); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:690:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] memmove(&wares_[i], &wares_[i + 1], sizeof(wares_[0]) * (ware_filled_ - i)); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:723:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (wares_[i].ware != &ware) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:728:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] pi = &wares_[i]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:812:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] wares_[i].ware->update(game); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:837:25: warning: unsafe buffer access [-Wunsafe-buffer-usage] WareInstance& ware = *wares_[--ware_filled_].ware; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:895:23: warning: unsafe buffer access [-Wunsafe-buffer-usage] wares_[i].ware->descr().get_animation("idle", wares_[i].ware), Time(0), ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:895:69: warning: unsafe buffer access [-Wunsafe-buffer-usage] wares_[i].ware->descr().get_animation("idle", wares_[i].ware), Time(0), ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:879:4: warning: 'ware_offsets' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] } ware_offsets[8] = {{-5.f, 1.f}, {-1.f, 3.f}, {3.f, 3.f}, {7.f, 1.f}, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:889:17: note: used in buffer access here warepos.x += ware_offsets[i].x * scale; ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:890:17: note: used in buffer access here warepos.y += ware_offsets[i].y * scale; ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/flag.cc:1029:22: warning: unsafe buffer access [-Wunsafe-buffer-usage] PendingWare& pi = wares_[i]; ^~~~~~ 126 warnings generated. [1761/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/idleworkersupply.cc.o -MF src/economy/CMakeFiles/economy.dir/idleworkersupply.cc.o.d -o src/economy/CMakeFiles/economy.dir/idleworkersupply.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/idleworkersupply.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/idleworkersupply.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/idleworkersupply.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/supply.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/trackptr.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/idleworkersupply.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/idleworkersupply.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/idleworkersupply.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/idleworkersupply.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/idleworkersupply.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/idleworkersupply.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/idleworkersupply.cc:30: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1762/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/portdock.cc.o -MF src/economy/CMakeFiles/economy.dir/portdock.cc.o.d -o src/economy/CMakeFiles/economy.dir/portdock.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc:35: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc:463:44: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] expedition_ready_ ? "true" : "false", waiting_.size()); ^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.cc:468:9: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] waiting_.size()); ^~~~~~~~~~~~~~~ 81 warnings generated. [1763/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/request.cc.o -MF src/economy/CMakeFiles/economy.dir/request.cc.o.d -o src/economy/CMakeFiles/economy.dir/request.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/request.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/request.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/request.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/request.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/request.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/request.cc:23: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/request.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/request.cc:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/request.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/request.cc:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/request.cc:37: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 warnings generated. [1764/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/roadbase.cc.o -MF src/economy/CMakeFiles/economy.dir/roadbase.cc.o.d -o src/economy/CMakeFiles/economy.dir/roadbase.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:19: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:23: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:30: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:38:14: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[0] = flags_[1] = nullptr; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:39:16: warning: unsafe buffer access [-Wunsafe-buffer-usage] flagidx_[0] = flagidx_[1] = -1; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:40:13: warning: unsafe buffer access [-Wunsafe-buffer-usage] cost_[0] = cost_[1] = 0; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:69:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[FlagStart]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:76:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] return cost_[fromflag]; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:89:32: warning: unsafe buffer access [-Wunsafe-buffer-usage] egbase.map().calc_cost(path, &cost_[FlagStart], &cost_[FlagEnd]); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:89:51: warning: unsafe buffer access [-Wunsafe-buffer-usage] egbase.map().calc_cost(path, &cost_[FlagStart], &cost_[FlagEnd]); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:195:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagStart]->attach_road(dir, this); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:196:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] flagidx_[FlagStart] = dir; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:200:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagEnd]->attach_road(dir, this); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:201:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flagidx_[FlagEnd] = dir; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:216:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagStart]->detach_road(flagidx_[FlagStart]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:216:33: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagStart]->detach_road(flagidx_[FlagStart]); ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:217:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagEnd]->detach_road(flagidx_[FlagEnd]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:217:31: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagEnd]->detach_road(flagidx_[FlagEnd]); ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:220:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagStart]->update_wares(*game, flags_[FlagEnd]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:220:42: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagStart]->update_wares(*game, flags_[FlagEnd]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:221:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagEnd]->update_wares(*game, flags_[FlagStart]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.cc:221:40: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagEnd]->update_wares(*game, flags_[FlagStart]); ^~~~~~ 98 warnings generated. [1765/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/road.cc.o -MF src/economy/CMakeFiles/economy.dir/road.cc.o.d -o src/economy/CMakeFiles/economy.dir/road.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:23: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:33: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:90:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] road.flags_[FlagStart] = &start; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:91:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] road.flags_[FlagEnd] = &end; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:105:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_split(*flags_[FlagStart], *flags_[FlagEnd], wwWARE); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:105:44: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_split(*flags_[FlagStart], *flags_[FlagEnd], wwWARE); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:106:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_split(*flags_[FlagStart], *flags_[FlagEnd], wwWORKER); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:106:44: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_split(*flags_[FlagStart], *flags_[FlagEnd], wwWORKER); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:119:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_merge(*flags_[FlagStart], *flags_[FlagEnd], wwWARE); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:119:44: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_merge(*flags_[FlagStart], *flags_[FlagEnd], wwWARE); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:120:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_merge(*flags_[FlagStart], *flags_[FlagEnd], wwWORKER); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:120:44: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_merge(*flags_[FlagStart], *flags_[FlagEnd], wwWORKER); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:249:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] Flag& oldend = *flags_[FlagEnd]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:252:21: warning: unsafe buffer access [-Wunsafe-buffer-usage] oldend.detach_road(flagidx_[FlagEnd]); ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:276:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagEnd] = &flag; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:280:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagEnd]->attach_road(dir, this); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:281:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flagidx_[FlagEnd] = dir; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:290:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] newroad.flags_[FlagStart] = &flag; // flagidx will be set on init() ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:291:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] newroad.flags_[FlagEnd] = &oldend; ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:369:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagStart]->update_wares(game, &oldend); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:370:28: warning: unsafe buffer access [-Wunsafe-buffer-usage] oldend.update_wares(game, flags_[FlagStart]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/road.cc:518:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[1]->propagate_promoted_road(this); ^~~~~~ 99 warnings generated. [1766/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/route.cc.o -MF src/economy/CMakeFiles/economy.dir/route.cc.o.d -o src/economy/CMakeFiles/economy.dir/route.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/route.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.cc:21: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 64 warnings generated. [1767/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/routeastar.cc.o -MF src/economy/CMakeFiles/economy.dir/routeastar.cc.o.d -o src/economy/CMakeFiles/economy.dir/routeastar.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/routeastar.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/routeastar.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/routeastar.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/itransport_cost_calculator.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1768/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/router.cc.o -MF src/economy/CMakeFiles/economy.dir/router.cc.o.d -o src/economy/CMakeFiles/economy.dir/router.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/router.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/router.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/itransport_cost_calculator.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1769/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/ship_fleet.cc.o -MF src/economy/CMakeFiles/economy.dir/ship_fleet.cc.o.d -o src/economy/CMakeFiles/economy.dir/ship_fleet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:25: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:26: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:37: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:708:74: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] molog(egbase.get_gametime(), "%" PRIuS " ships and %" PRIuS " ports\n", ships_.size(), ~~~~~~~~ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:709:8: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] ports_.size()); ^~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:35: /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.h:164:16: warning: 'direction' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] int8_t const* direction = ((cur.x + cur.y) & 1) ? order1 : order2; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:157:15: note: in instantiation of member function 'Widelands::MapAStar::step' requested here while (astar.step(cur, cost)) { ^ /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.h:167:31: note: used in pointer arithmetic here for (uint32_t i = 6; i; i--, direction++) { ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.h:164:16: warning: 'direction' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] int8_t const* direction = ((cur.x + cur.y) & 1) ? order1 : order2; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.cc:510:38: note: in instantiation of member function 'Widelands::MapAStar::step' requested here while (!se.targets.empty() && astar.step(cur, cost)) { ^ /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.h:167:31: note: used in pointer arithmetic here for (uint32_t i = 6; i; i--, direction++) { ^~~~~~~~~ 84 warnings generated. [1770/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/shippingitem.cc.o -MF src/economy/CMakeFiles/economy.dir/shippingitem.cc.o.d -o src/economy/CMakeFiles/economy.dir/shippingitem.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1771/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/shipping_schedule.cc.o -MF src/economy/CMakeFiles/economy.dir/shipping_schedule.cc.o.d -o src/economy/CMakeFiles/economy.dir/shipping_schedule.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:34: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:775:43: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] sslog("SECOND PASS: %" PRIuS " ports\n", nr_ports); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:74:82: note: expanded from macro 'sslog' #define sslog(...) verb_log_dbg_time(game.get_gametime(), "[Shipping Schedule] " __VA_ARGS__) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:1048:9: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] ships_for_expeditions.size(), ports_with_unserviced_expeditions.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:74:82: note: expanded from macro 'sslog' #define sslog(...) verb_log_dbg_time(game.get_gametime(), "[Shipping Schedule] " __VA_ARGS__) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:1048:39: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] ships_for_expeditions.size(), ports_with_unserviced_expeditions.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:74:82: note: expanded from macro 'sslog' #define sslog(...) verb_log_dbg_time(game.get_gametime(), "[Shipping Schedule] " __VA_ARGS__) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:1123:53: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] sslog("FIFTH PASS: Found %" PRIuS " open pairs\n", open_pairs.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:74:82: note: expanded from macro 'sslog' #define sslog(...) verb_log_dbg_time(game.get_gametime(), "[Shipping Schedule] " __VA_ARGS__) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:1176:52: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] sslog("Phase 5.2: %" PRIuS " idle ships found\n", idle_ships.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:74:82: note: expanded from macro 'sslog' #define sslog(...) verb_log_dbg_time(game.get_gametime(), "[Shipping Schedule] " __VA_ARGS__) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:1276:61: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] sslog("Phase 5.4: Created groups for %" PRIuS " ports\n", groups.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:74:82: note: expanded from macro 'sslog' #define sslog(...) verb_log_dbg_time(game.get_gametime(), "[Shipping Schedule] " __VA_ARGS__) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:1544:53: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] sslog("SIXTH PASS: Found %" PRIuS " idle ships\n", idle_ships.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:74:82: note: expanded from macro 'sslog' #define sslog(...) verb_log_dbg_time(game.get_gametime(), "[Shipping Schedule] " __VA_ARGS__) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:58:32: note: expanded from macro 'verb_log_dbg_time' do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:1622:56: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] log_dbg_time(t, " SCHEDULE: %" PRIuS " stations\n", plan.second.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:44:63: note: expanded from macro 'log_dbg_time' #define log_dbg_time(time, ...) do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.cc:1631:60: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] log_dbg_time(t, "cargo for %" PRIuS " destinations\n", ss.load_there.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:44:63: note: expanded from macro 'log_dbg_time' #define log_dbg_time(time, ...) do_log(LogType::kDebug, time, __VA_ARGS__) ^~~~~~~~~~~ 88 warnings generated. [1772/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/supply_list.cc.o -MF src/economy/CMakeFiles/economy.dir/supply_list.cc.o.d -o src/economy/CMakeFiles/economy.dir/supply_list.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/supply_list.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/supply_list.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1773/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/transfer.cc.o -MF src/economy/CMakeFiles/economy.dir/transfer.cc.o.d -o src/economy/CMakeFiles/economy.dir/transfer.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.cc:23: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.cc:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.cc:27: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.cc:35: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [1774/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/ware_instance.cc.o -MF src/economy/CMakeFiles/economy.dir/ware_instance.cc.o.d -o src/economy/CMakeFiles/economy.dir/ware_instance.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.cc:25: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.cc:26: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.cc:38: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 warnings generated. [1775/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/input_queue.cc.o -MF src/economy/CMakeFiles/economy.dir/input_queue.cc.o.d -o src/economy/CMakeFiles/economy.dir/input_queue.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.cc:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1776/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/ware_priority.cc.o -MF src/economy/CMakeFiles/economy.dir/ware_priority.cc.o.d -o src/economy/CMakeFiles/economy.dir/ware_priority.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/ware_priority.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_priority.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_priority.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. [1777/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/wares_queue.cc.o -MF src/economy/CMakeFiles/economy.dir/wares_queue.cc.o.d -o src/economy/CMakeFiles/economy.dir/wares_queue.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.cc:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1778/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/waterway.cc.o -MF src/economy/CMakeFiles/economy.dir/waterway.cc.o.d -o src/economy/CMakeFiles/economy.dir/waterway.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:32: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:61:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] waterway.flags_[FlagStart] = &start; ^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:62:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] waterway.flags_[FlagEnd] = &end; ^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:72:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_merge(*flags_[FlagStart], *flags_[FlagEnd], wwWARE); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:72:44: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_merge(*flags_[FlagStart], *flags_[FlagEnd], wwWARE); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:132:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] Flag& oldend = *flags_[FlagEnd]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:135:21: warning: unsafe buffer access [-Wunsafe-buffer-usage] oldend.detach_road(flagidx_[FlagEnd]); ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:159:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagEnd] = &flag; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:163:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagEnd]->attach_road(dir, this); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:164:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flagidx_[FlagEnd] = dir; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:172:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] newww.flags_[FlagStart] = &flag; // flagidx will be set on init() ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:173:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] newww.flags_[FlagEnd] = &oldend; ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:184:15: warning: unsafe buffer access [-Wunsafe-buffer-usage] Coords temp(flags_[FlagStart]->get_position()); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:209:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] flags_[FlagStart]->update_wares(game, &oldend); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:210:28: warning: unsafe buffer access [-Wunsafe-buffer-usage] oldend.update_wares(game, flags_[FlagStart]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:214:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_split(*flags_[FlagStart], *flags_[FlagEnd], wwWARE); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.cc:214:44: warning: unsafe buffer access [-Wunsafe-buffer-usage] Economy::check_split(*flags_[FlagStart], *flags_[FlagEnd], wwWARE); ^~~~~~ 95 warnings generated. [1779/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/CMakeFiles/economy.dir/workers_queue.cc.o -MF src/economy/CMakeFiles/economy.dir/workers_queue.cc.o.d -o src/economy/CMakeFiles/economy.dir/workers_queue.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/workers_queue.cc:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1780/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/test/CMakeFiles/test_economy.dir/economy_test_main.cc.o -MF src/economy/test/CMakeFiles/test_economy.dir/economy_test_main.cc.o.d -o src/economy/test/CMakeFiles/test_economy.dir/economy_test_main.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/test/economy_test_main.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/economy_test_main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/economy_test_main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1781/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/test/CMakeFiles/test_economy.dir/test_road.cc.o -MF src/economy/test/CMakeFiles/test_economy.dir/test_road.cc.o.d -o src/economy/test/CMakeFiles/test_economy.dir/test_road.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_road.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_road.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_road.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_road.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_road.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_road.cc:20: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_road.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_road.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_road.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_road.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_road.cc:24: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [1782/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/economy/test/CMakeFiles/test_economy.dir/test_routing.cc.o -MF src/economy/test/CMakeFiles/test_economy.dir/test_routing.cc.o.d -o src/economy/test/CMakeFiles/test_economy.dir/test_routing.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_routing.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_routing.cc:19: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_routing.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_routing.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_routing.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/test/test_routing.cc:21: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ 20 warnings generated. [1783/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/editorinteractive.cc.o -MF src/editor/CMakeFiles/editor.dir/editorinteractive.cc.o.d -o src/editor/CMakeFiles/editor.dir/editorinteractive.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.cc:529:30: note: used in buffer access here egbase().add_player(p, 0, kPlayerColors[p - 1], map->get_scenario_player_tribe(p), ^~~~~~~~~~~~~ 78 warnings generated. [1784/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/editor_category.cc.o -MF src/editor/CMakeFiles/editor.dir/editor_category.cc.o.d -o src/editor/CMakeFiles/editor.dir/editor_category.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1785/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/map_generator.cc.o -MF src/editor/CMakeFiles/editor.dir/map_generator.cc.o.d -o src/editor/CMakeFiles/editor.dir/map_generator.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/map_gen.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/terrain_description.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:51:69: warning: 'random_bobs' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void MapGenerator::generate_bobs(std::unique_ptr const* random_bobs, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:61:18: note: used in buffer access here uint32_t val = random_bobs[ix][fc.x + map_info_.w * fc.y]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:111:61: warning: 'random1' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void MapGenerator::generate_resources(uint32_t const* const random1, ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:168:25: note: used in buffer access here uint32_t const rnd1 = random1[fc.x + map_info_.w * fc.y]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:145:25: note: used in buffer access here uint32_t const rnd1 = random1[fc.x + map_info_.w * fc.y]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:140:25: note: used in buffer access here uint32_t const rnd1 = random1[fc.x + map_info_.w * fc.y]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:155:25: note: used in buffer access here uint32_t const rnd1 = random1[fc.x + map_info_.w * fc.y]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:112:61: warning: 'random2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint32_t const* const random2, ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:156:25: note: used in buffer access here uint32_t const rnd2 = random2[fc.x + map_info_.w * fc.y]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:146:25: note: used in buffer access here uint32_t const rnd2 = random2[fc.x + map_info_.w * fc.y]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:169:25: note: used in buffer access here uint32_t const rnd2 = random2[fc.x + map_info_.w * fc.y]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:113:61: warning: 'random3' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint32_t const* const random3, ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:170:25: note: used in buffer access here uint32_t const rnd3 = random3[fc.x + map_info_.w * fc.y]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:157:25: note: used in buffer access here uint32_t const rnd3 = random3[fc.x + map_info_.w * fc.y]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:114:61: warning: 'random4' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint32_t const* const random4, ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:171:25: note: used in buffer access here uint32_t const rnd4 = random4[fc.x + map_info_.w * fc.y]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:257:18: warning: 'values' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint32_t* const values = new uint32_t[numFields]; // Array to be filled ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:396:16: note: used in buffer access here minVals[values[x + y * w] >> 22] * static_cast(kMaxElevation); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:324:6: note: used in buffer access here values[x + step_x / 2 + w * (y)] = x_new; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:272:6: note: used in buffer access here values[x + y * w] += kAverageElevation; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:306:31: note: used in buffer access here uint32_t const x_1_y_0 = values[right_x + w * y]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:270:5: note: used in buffer access here values[x + y * w] = rng.rand(); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:308:31: note: used in buffer access here uint32_t const x_1_y_1 = values[right_x + w * lower_y]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:326:6: note: used in buffer access here values[x + w * (y + step_y / 2)] = y_new; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:325:6: note: used in buffer access here values[x + step_x / 2 + w * (y + step_y / 2)] = xy_new; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:373:5: note: used in buffer access here values[x + y * w] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:305:31: note: used in buffer access here uint32_t const x_0_y_0 = values[x + w * y]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:395:5: note: used in buffer access here values[x + y * w] = ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:307:31: note: used in buffer access here uint32_t const x_0_y_1 = values[x + w * lower_y]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:374:30: note: used in buffer access here ((static_cast(values[x + y * w] - min)) / static_cast(max - min)) * ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:376:13: note: used in buffer access here ++histo[values[x + y * w] >> 22]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:263:4: note: used in buffer access here values[ix] = kAverageElevation; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:273:6: note: used in buffer access here values[x + y * w] /= 2; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:369:12: warning: 'histo' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] uint32_t histo[1024] = {0}; ~~~~~~~~~^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:376:7: note: used in buffer access here ++histo[values[x + y * w] >> 22]; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:388:35: note: used in buffer access here currVal += static_cast(histo[x]) / static_cast(numFields); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:382:10: warning: 'minVals' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] double minVals[1024]; ~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:387:4: note: used in buffer access here minVals[x] = currVal; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:396:8: note: used in buffer access here minVals[values[x + y * w] >> 22] * static_cast(kMaxElevation); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:429:67: warning: 'random2' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] DescriptionIndex MapGenerator::figure_out_terrain(const uint32_t* random2, ~~~~~~~~~~~~~~~~^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:449:19: note: used in buffer access here random2[c1.x + map_info_.w * c1.y] / 3 + random2[c2.x + map_info_.w * c2.y] / 3; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:449:60: note: used in buffer access here random2[c1.x + map_info_.w * c1.y] / 3 + random2[c2.x + map_info_.w * c2.y] / 3; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:492:19: note: used in buffer access here if (weight1 * (random2[c0.x + map_info_.w * c0.y] / sum) >= ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:448:19: note: used in buffer access here uint32_t rand2 = random2[c0.x + map_info_.w * c0.y] / 3 + ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:430:67: warning: 'random3' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const uint32_t* random3, ~~~~~~~~~~~~~~~~^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:451:19: note: used in buffer access here random3[c1.x + map_info_.w * c1.y] / 3 + random3[c2.x + map_info_.w * c2.y] / 3; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:450:19: note: used in buffer access here uint32_t rand3 = random3[c0.x + map_info_.w * c0.y] / 3 + ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:451:60: note: used in buffer access here random3[c1.x + map_info_.w * c1.y] / 3 + random3[c2.x + map_info_.w * c2.y] / 3; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:431:67: warning: 'random4' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const uint32_t* random4, ~~~~~~~~~~~~~~~~^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:453:60: note: used in buffer access here random4[c1.x + map_info_.w * c1.y] / 3 + random4[c2.x + map_info_.w * c2.y] / 3; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:453:19: note: used in buffer access here random4[c1.x + map_info_.w * c1.y] / 3 + random4[c2.x + map_info_.w * c2.y] / 3; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:452:19: note: used in buffer access here uint32_t rand4 = random4[c0.x + map_info_.w * c0.y] / 3 + ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:631:2: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] iterate_Map_FCoords(map_, map_info_, fc) fc.field->set_height( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1338:70: note: expanded from macro 'iterate_Map_FCoords' for (fc.x = 0; fc.x < static_cast(extent.w); ++fc.x, ++fc.field) ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:638:2: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] iterate_Map_FCoords(map_, map_info_, fc) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1338:70: note: expanded from macro 'iterate_Map_FCoords' for (fc.x = 0; fc.x < static_cast(extent.w); ++fc.x, ++fc.field) ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:702:10: warning: 'line' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] uint8_t line[3]; ~~~~~~~~^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:721:6: note: used in buffer access here --line[2]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:773:21: note: used in buffer access here playerstart.x /= line[1] * line[1] + 1; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:772:31: note: used in buffer access here playerstart.x *= line[1] * line[1] + 1 - pos * pos; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:784:21: note: used in buffer access here playerstart.x *= line[2] * line[2] + 1 - pos * pos; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:773:31: note: used in buffer access here playerstart.x /= line[1] * line[1] + 1; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:785:21: note: used in buffer access here playerstart.x /= line[2] * line[2] + 1; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:785:31: note: used in buffer access here playerstart.x /= line[2] * line[2] + 1; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:719:5: note: used in buffer access here --line[1]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:784:31: note: used in buffer access here playerstart.x *= line[2] * line[2] + 1 - pos * pos; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:768:24: note: used in buffer access here } else if (line[0] + line[1] + 1 > pn[n - 1]) { ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:772:21: note: used in buffer access here playerstart.x *= line[1] * line[1] + 1 - pos * pos; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:782:40: note: used in buffer access here uint8_t pos = pn[n - 1] - line[0] - line[1]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:717:22: note: used in buffer access here line[0] = line[1] = line[2] = rows; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:717:12: note: used in buffer access here line[0] = line[1] = line[2] = rows; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:957:10: warning: 'nums' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] int32_t nums[kMapIdDigits]; ~~~~~~~~^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:997:64: note: used in buffer access here (nums[4] << 20) | (nums[5] << 25) | ((nums[6] & 3) << 30); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:996:56: note: used in buffer access here mapInfo_out.mapNumber = (nums[0]) | (nums[1] << 5) | (nums[2] << 10) | (nums[3] << 15) | ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1001:66: note: used in buffer access here static_cast((nums[6] & 0xc) >> 2); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:996:39: note: used in buffer access here mapInfo_out.mapNumber = (nums[0]) | (nums[1] << 5) | (nums[2] << 10) | (nums[3] << 15) | ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:997:27: note: used in buffer access here (nums[4] << 20) | (nums[5] << 25) | ((nums[6] & 3) << 30); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1014:46: note: used in buffer access here mapInfo_out.landRatio = static_cast(nums[10]) / 20.0; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:996:74: note: used in buffer access here mapInfo_out.mapNumber = (nums[0]) | (nums[1] << 5) | (nums[2] << 10) | (nums[3] << 15) | ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1016:51: note: used in buffer access here mapInfo_out.wastelandRatio = static_cast(nums[11]) / 20.0; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1023:30: note: used in buffer access here uint16_t world_name_hash = (nums[14]) | (nums[15] << 5) | (nums[16] << 10) | (nums[17] << 15); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1018:27: note: used in buffer access here mapInfo_out.numPlayers = nums[12]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:997:45: note: used in buffer access here (nums[4] << 20) | (nums[5] << 25) | ((nums[6] & 3) << 30); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:972:3: note: used in buffer access here nums[ix] = nums[ix] ^ xorr; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:972:14: note: used in buffer access here nums[ix] = nums[ix] ^ xorr; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:981:6: note: used in buffer access here if (nums[kMapIdDigits - 1] != 0) { ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1009:18: note: used in buffer access here mapInfo_out.h = nums[8] * 16 + 64; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:964:3: note: used in buffer access here nums[ix] = num; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1020:28: note: used in buffer access here mapInfo_out.islandMode = (nums[13] != 0); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:986:6: note: used in buffer access here if (nums[kMapIdDigits - 2] != 1) { ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1008:18: note: used in buffer access here mapInfo_out.w = nums[7] * 16 + 64; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1012:47: note: used in buffer access here mapInfo_out.waterRatio = static_cast(nums[9]) / 20.0; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1023:43: note: used in buffer access here uint16_t world_name_hash = (nums[14]) | (nums[15] << 5) | (nums[16] << 10) | (nums[17] << 15); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:991:6: note: used in buffer access here if (nums[kMapIdDigits - 3] != 0x15) { ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:969:17: note: used in buffer access here int32_t xorr = nums[kMapIdDigits - 1]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1023:80: note: used in buffer access here uint16_t world_name_hash = (nums[14]) | (nums[15] << 5) | (nums[16] << 10) | (nums[17] << 15); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1023:61: note: used in buffer access here uint16_t world_name_hash = (nums[14]) | (nums[15] << 5) | (nums[16] << 10) | (nums[17] << 15); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1061:10: warning: 'nums' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] int32_t nums[kMapIdDigits] = {0}; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1118:3: note: used in buffer access here nums[ix] = nums[ix] ^ xorr; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1077:2: note: used in buffer access here nums[6] |= (mapInfo.resource_amount & 3) << 2; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1072:2: note: used in buffer access here nums[4] = (mapInfo.mapNumber >> 20) & 31; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1088:2: note: used in buffer access here nums[11] = (mapInfo.wastelandRatio + 0.025) * 20.0; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1079:2: note: used in buffer access here nums[7] = (mapInfo.w - 64) / 16; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1099:2: note: used in buffer access here nums[17] = (nameHash >> 15) & 1; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1104:2: note: used in buffer access here nums[kMapIdDigits - 2] = 0x01; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1086:2: note: used in buffer access here nums[10] = (mapInfo.landRatio + 0.025) * 20.0; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1118:14: note: used in buffer access here nums[ix] = nums[ix] ^ xorr; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1102:2: note: used in buffer access here nums[kMapIdDigits - 3] = 0x15; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1091:2: note: used in buffer access here nums[12] = mapInfo.numPlayers; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1098:2: note: used in buffer access here nums[16] = (nameHash >> 10) & 31; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1106:2: note: used in buffer access here nums[kMapIdDigits - 1] = 0x00; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1084:2: note: used in buffer access here nums[9] = (mapInfo.waterRatio + 0.025) * 20.0; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1093:2: note: used in buffer access here nums[13] = mapInfo.islandMode ? 1 : 0; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1069:2: note: used in buffer access here nums[2] = (mapInfo.mapNumber >> 10) & 31; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1096:2: note: used in buffer access here nums[15] = (nameHash >> 5) & 31; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1074:2: note: used in buffer access here nums[6] = (mapInfo.mapNumber >> 30) & 3; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1128:45: note: used in buffer access here mapIdsString_out += map_id_number_to_char(nums[ix]); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1068:2: note: used in buffer access here nums[1] = (mapInfo.mapNumber >> 5) & 31; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1070:2: note: used in buffer access here nums[3] = (mapInfo.mapNumber >> 15) & 31; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1073:2: note: used in buffer access here nums[5] = (mapInfo.mapNumber >> 25) & 31; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1082:2: note: used in buffer access here nums[8] = (mapInfo.h - 64) / 16; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/map_generator.cc:1095:2: note: used in buffer access here nums[14] = nameHash & 31; ^~~~ 79 warnings generated. [1786/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/decrease_height_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/decrease_height_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/decrease_height_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1787/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/decrease_resources_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/decrease_resources_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/decrease_resources_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1788/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/delete_critter_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/delete_critter_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/delete_critter_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1789/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/delete_immovable_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/delete_immovable_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/delete_immovable_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1790/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/draw_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/draw_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/draw_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1791/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/history.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/history.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/history.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1792/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/increase_height_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/increase_height_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/increase_height_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_height_tool.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1793/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/increase_resources_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/increase_resources_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/increase_resources_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/decrease_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/increase_resources_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1794/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/info_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/info_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/info_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/info_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1795/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/noise_height_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/noise_height_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/noise_height_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/noise_height_tool.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1796/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/place_critter_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/place_critter_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/place_critter_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1797/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/place_immovable_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/place_immovable_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/place_immovable_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1798/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/resize_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/resize_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/resize_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/resize_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1799/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/set_height_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/set_height_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/set_height_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_height_tool.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1800/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/set_origin_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/set_origin_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/set_origin_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_origin_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1801/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/set_port_space_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/set_port_space_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/set_port_space_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_port_space_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1802/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/set_resources_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/set_resources_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/set_resources_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_resources_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1803/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/set_starting_pos_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/set_starting_pos_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/set_starting_pos_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_starting_pos_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1804/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/set_terrain_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/set_terrain_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/set_terrain_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/set_terrain_tool.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1805/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/tool_conf.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/tool_conf.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/tool_conf.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_conf.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_conf.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_conf.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_conf.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_conf.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_conf.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_conf.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_conf.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_conf.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1806/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/tools/toolhistory_tool.cc.o -MF src/editor/CMakeFiles/editor.dir/tools/toolhistory_tool.cc.o.d -o src/editor/CMakeFiles/editor.dir/tools/toolhistory_tool.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/toolhistory_tool.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1807/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/field_info_window.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/field_info_window.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/field_info_window.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/field_info_window.cc:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [1808/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/help.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/help.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/help.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/help.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/help.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/help.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_errors.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/help.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/help.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/help.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/help.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/help.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/help.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/help.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/help.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1809/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_load_map.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_load_map.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_load_map.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1810/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_load_or_save_map.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_load_or_save_map.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_load_or_save_map.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_load_or_save_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1811/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_map_options.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_map_options.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_map_options.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_map_options.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1812/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_new_map.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_new_map.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_new_map.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_new_map.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_new_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_new_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_new_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_new_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_new_map.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_new_map.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_new_map.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_new_map.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_new_map.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_new_map.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1813/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_random_map.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_random_map.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_random_map.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1814/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_save_map.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_save_map.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_save_map.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1815/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_save_map_make_directory.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_save_map_make_directory.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_save_map_make_directory.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map_make_directory.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map_make_directory.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map_make_directory.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_save_map_make_directory.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1816/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/map_size_box.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/map_size_box.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/map_size_box.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.cc:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [1817/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/player_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/player_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/player_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/player_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1818/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/tool_change_height_options_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/tool_change_height_options_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/tool_change_height_options_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1819/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/tool_change_resources_options_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/tool_change_resources_options_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/tool_change_resources_options_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_change_resources_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1820/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/tool_noise_height_options_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/tool_noise_height_options_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/tool_noise_height_options_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_noise_height_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1821/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/tool_options_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/tool_options_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/tool_options_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editor_category.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1822/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/tool_place_critter_options_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/tool_place_critter_options_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/tool_place_critter_options_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_critter_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_critter_options_menu.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1823/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/tool_place_immovable_options_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/tool_place_immovable_options_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/tool_place_immovable_options_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/place_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/delete_immovable_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_place_immovable_options_menu.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1824/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/tool_resize_options_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/tool_resize_options_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/tool_resize_options_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_resize_options_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1825/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/tool_set_terrain_options_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/tool_set_terrain_options_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/tool_set_terrain_options_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/categorized_item_selection_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/categorized_item_selection_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_set_terrain_options_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1826/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/tool_toolhistory_options_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/tool_toolhistory_options_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/tool_toolhistory_options_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_action.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_action.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool_action.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_options_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/tool_toolhistory_options_menu.cc:116:6: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^ 78 warnings generated. [1827/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/editor/CMakeFiles/editor.dir/ui_menus/toolsize_menu.cc.o -MF src/editor/CMakeFiles/editor.dir/ui_menus/toolsize_menu.cc.o.d -o src/editor/CMakeFiles/editor.dir/ui_menus/toolsize_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/toolsize_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/toolsize_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/toolsize_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/spinbox.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/toolsize_menu.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/toolsize_menu.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/action_args.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/toolsize_menu.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/toolsize_menu.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/toolsize_menu.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/toolsize_menu.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/toolsize_menu.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1828/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/game_io/CMakeFiles/game_io.dir/game_cmd_queue_packet.cc.o -MF src/game_io/CMakeFiles/game_io.dir/game_cmd_queue_packet.cc.o.d -o src/game_io/CMakeFiles/game_io.dir/game_cmd_queue_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/game_io/game_cmd_queue_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_cmd_queue_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_cmd_queue_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_data_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_cmd_queue_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_cmd_queue_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_cmd_queue_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_cmd_queue_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1829/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/game_io/CMakeFiles/game_io.dir/game_class_packet.cc.o -MF src/game_io/CMakeFiles/game_io.dir/game_class_packet.cc.o.d -o src/game_io/CMakeFiles/game_io.dir/game_class_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/game_io/game_class_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_class_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_class_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_data_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_class_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_class_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_class_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_class_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1830/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/game_io/CMakeFiles/game_io.dir/game_interactive_player_packet.cc.o -MF src/game_io/CMakeFiles/game_io.dir/game_interactive_player_packet.cc.o.d -o src/game_io/CMakeFiles/game_io.dir/game_interactive_player_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_data_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:26: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:154:36: warning: 'landmarks' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const QuickNavigation::Landmark* landmarks = ibase->landmarks(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:157:18: note: used in buffer access here fw.unsigned_8(landmarks[i].set ? 1 : 0); ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:159:16: note: used in buffer access here fw.float_32(landmarks[i].view.viewpoint.y); ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:158:16: note: used in buffer access here fw.float_32(landmarks[i].view.viewpoint.x); ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_interactive_player_packet.cc:160:16: note: used in buffer access here fw.float_32(landmarks[i].view.zoom); ^~~~~~~~~ 80 warnings generated. [1831/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/game_io/CMakeFiles/game_io.dir/game_player_ai_persistent_packet.cc.o -MF src/game_io/CMakeFiles/game_io.dir/game_player_ai_persistent_packet.cc.o.d -o src/game_io/CMakeFiles/game_io.dir/game_player_ai_persistent_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_data_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:26: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:61:9: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] magic_numbers_size, Widelands::Player::AiPersistentState::kMagicNumbersSize); ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:61:29: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] magic_numbers_size, Widelands::Player::AiPersistentState::kMagicNumbersSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:74:9: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] neuron_pool_size, Widelands::Player::AiPersistentState::kNeuronPoolSize); ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:74:27: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] neuron_pool_size, Widelands::Player::AiPersistentState::kNeuronPoolSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:92:9: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] f_neuron_pool_size, Widelands::Player::AiPersistentState::kFNeuronPoolSize); ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_ai_persistent_packet.cc:92:29: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] f_neuron_pool_size, Widelands::Player::AiPersistentState::kFNeuronPoolSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 83 warnings generated. [1832/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/game_io/CMakeFiles/game_io.dir/game_loader.cc.o -MF src/game_io/CMakeFiles/game_io.dir/game_loader.cc.o.d -o src/game_io/CMakeFiles/game_io.dir/game_loader.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/game_io/game_loader.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_loader.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_loader.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_loader.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_loader.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_loader.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_loader.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_loader.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_loader.cc:36: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1833/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/game_io/CMakeFiles/game_io.dir/game_map_packet.cc.o -MF src/game_io/CMakeFiles/game_io.dir/game_map_packet.cc.o.d -o src/game_io/CMakeFiles/game_io.dir/game_map_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/game_io/game_map_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_map_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_map_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_data_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_map_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_map_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_map_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_map_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1834/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/game_io/CMakeFiles/game_io.dir/game_player_economies_packet.cc.o -MF src/game_io/CMakeFiles/game_io.dir/game_player_economies_packet.cc.o.d -o src/game_io/CMakeFiles/game_io.dir/game_player_economies_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_data_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:29: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:30: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:44:20: warning: 'field' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (Field const* field = &map[0]; field < &map[map.max_index()]; ++field) { ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_economies_packet.cc:44:70: note: used in pointer arithmetic here for (Field const* field = &map[0]; field < &map[map.max_index()]; ++field) { ^~~~~ 81 warnings generated. [1835/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/game_io/CMakeFiles/game_io.dir/game_player_info_packet.cc.o -MF src/game_io/CMakeFiles/game_io.dir/game_player_info_packet.cc.o.d -o src/game_io/CMakeFiles/game_io.dir/game_player_info_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_data_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:28: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:29: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:60:50: note: used in buffer access here packet_version >= 28 ? fr.unsigned_8() : kPlayerColors[i - 1].b; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:56:50: note: used in buffer access here packet_version >= 28 ? fr.unsigned_8() : kPlayerColors[i - 1].r; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/game_io/game_player_info_packet.cc:58:50: note: used in buffer access here packet_version >= 28 ? fr.unsigned_8() : kPlayerColors[i - 1].g; ^~~~~~~~~~~~~ 82 warnings generated. [1836/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/game_io/CMakeFiles/game_io.dir/game_preload_packet.cc.o -MF src/game_io/CMakeFiles/game_io.dir/game_preload_packet.cc.o.d -o src/game_io/CMakeFiles/game_io.dir/game_preload_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.cc:33: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 81 warnings generated. [1837/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/game_io/CMakeFiles/game_io.dir/game_saver.cc.o -MF src/game_io/CMakeFiles/game_io.dir/game_saver.cc.o.d -o src/game_io/CMakeFiles/game_io.dir/game_saver.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/game_io/game_saver.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_saver.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_saver.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_saver.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_saver.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_saver.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_saver.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1838/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_toolbar_imageset.dir/toolbar_imageset.cc.o -MF src/graphic/CMakeFiles/graphic_toolbar_imageset.dir/toolbar_imageset.cc.o.d -o src/graphic/CMakeFiles/graphic_toolbar_imageset.dir/toolbar_imageset.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/toolbar_imageset.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/toolbar_imageset.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/toolbar_imageset.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/toolbar_imageset.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/toolbar_imageset.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1839/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_align.dir/align.cc.o -MF src/graphic/CMakeFiles/graphic_align.dir/align.cc.o.d -o src/graphic/CMakeFiles/graphic_align.dir/align.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/align.cc [1840/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_align.a && /usr/bin/ar qc src/graphic/libgraphic_align.a src/graphic/CMakeFiles/graphic_align.dir/align.cc.o && /usr/bin/ranlib src/graphic/libgraphic_align.a && : [1841/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_color.dir/color.cc.o -MF src/graphic/CMakeFiles/graphic_color.dir/color.cc.o.d -o src/graphic/CMakeFiles/graphic_color.dir/color.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/color.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/color.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/color.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1842/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_playercolor.dir/playercolor.cc.o -MF src/graphic/CMakeFiles/graphic_playercolor.dir/playercolor.cc.o.d -o src/graphic/CMakeFiles/graphic_playercolor.dir/playercolor.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.cc:19: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.cc:58:27: note: used in buffer access here return playercolor_image(kPlayerColors[player_number], image_filename); ^~~~~~~~~~~~~ 4 warnings generated. [1843/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_build_texture_atlas.dir/build_texture_atlas.cc.o -MF src/graphic/CMakeFiles/graphic_build_texture_atlas.dir/build_texture_atlas.cc.o.d -o src/graphic/CMakeFiles/graphic_build_texture_atlas.dir/build_texture_atlas.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/build_texture_atlas.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/build_texture_atlas.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/build_texture_atlas.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/texture.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/system_headers.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/build_texture_atlas.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1844/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_image_io.dir/image_io.cc.o -MF src/graphic/CMakeFiles/graphic_image_io.dir/image_io.cc.o.d -o src/graphic/CMakeFiles/graphic_image_io.dir/image_io.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/image_io.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image_io.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image_io.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image_io.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/image_io.cc:97:6: warning: disabled expansion of recursive macro [-Wdisabled-macro-expansion] if (setjmp(png_jmpbuf(png_ptr))) { // NOLINT ^ /usr/include/c++/v1/setjmp.h:41:21: note: expanded from macro 'setjmp' #define setjmp(env) setjmp(env) ^ 16 warnings generated. [1845/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_image_cache.dir/image_cache.cc.o -MF src/graphic/CMakeFiles/graphic_image_cache.dir/image_cache.cc.o.d -o src/graphic/CMakeFiles/graphic_image_cache.dir/image_cache.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/image_cache.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image_cache.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image_cache.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1846/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_sdl_utils.dir/sdl_utils.cc.o -MF src/graphic/CMakeFiles/graphic_sdl_utils.dir/sdl_utils.cc.o.d -o src/graphic/CMakeFiles/graphic_sdl_utils.dir/sdl_utils.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/sdl_utils.cc [1847/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_sdl_utils.a && /usr/bin/ar qc src/graphic/libgraphic_sdl_utils.a src/graphic/CMakeFiles/graphic_sdl_utils.dir/sdl_utils.cc.o && /usr/bin/ranlib src/graphic/libgraphic_sdl_utils.a && : [1848/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_gl_utils.dir/gl/initialize.cc.o -MF src/graphic/CMakeFiles/graphic_gl_utils.dir/gl/initialize.cc.o.d -o src/graphic/CMakeFiles/graphic_gl_utils.dir/gl/initialize.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/initialize.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/initialize.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/initialize.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/system_headers.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/initialize.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1849/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_gl_utils.dir/gl/utils.cc.o -MF src/graphic/CMakeFiles/graphic_gl_utils.dir/gl/utils.cc.o.d -o src/graphic/CMakeFiles/graphic_gl_utils.dir/gl/utils.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.cc:268:92: warning: 'pixels' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void swap_rows(const int width, const int height, const int pitch, const int bpp, uint8_t* pixels) { ~~~~~~~~~^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.cc:270:21: note: used in pointer arithmetic here uint8_t* end_row = pixels + pitch * (height - 1); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.cc:269:11: warning: 'begin_row' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint8_t* begin_row = pixels; ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.cc:275:3: note: used in pointer arithmetic here begin_row += pitch; ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.cc:273:14: note: used in buffer access here std::swap(begin_row[x], end_row[x]); ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.cc:270:11: warning: 'end_row' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint8_t* end_row = pixels + pitch * (height - 1); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.cc:276:3: note: used in pointer arithmetic here end_row -= pitch; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.cc:273:28: note: used in buffer access here std::swap(begin_row[x], end_row[x]); ^~~~~~~ 4 warnings generated. [1850/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_surface.dir/screen.cc.o -MF src/graphic/CMakeFiles/graphic_surface.dir/screen.cc.o.d -o src/graphic/CMakeFiles/graphic_surface.dir/screen.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/screen.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/screen.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/screen.h:23: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/screen.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/screen.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/screen.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/screen.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1851/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_surface.dir/surface.cc.o -MF src/graphic/CMakeFiles/graphic_surface.dir/surface.cc.o.d -o src/graphic/CMakeFiles/graphic_surface.dir/surface.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/surface.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/surface.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/surface.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1852/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_surface.dir/texture.cc.o -MF src/graphic/CMakeFiles/graphic_surface.dir/texture.cc.o.d -o src/graphic/CMakeFiles/graphic_surface.dir/texture.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/texture.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/texture.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/texture.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/system_headers.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1853/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_texture_atlas.dir/texture_atlas.cc.o -MF src/graphic/CMakeFiles/graphic_texture_atlas.dir/texture_atlas.cc.o.d -o src/graphic/CMakeFiles/graphic_texture_atlas.dir/texture_atlas.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/texture_atlas.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/texture_atlas.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/texture_atlas.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1854/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/blit_program.cc.o -MF src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/blit_program.cc.o.d -o src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/blit_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/blit_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/blit_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/blit_program.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1855/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/draw_line_program.cc.o -MF src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/draw_line_program.cc.o.d -o src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/draw_line_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/draw_line_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/draw_line_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/draw_line_program.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1856/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/fill_rect_program.cc.o -MF src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/fill_rect_program.cc.o.d -o src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/fill_rect_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fill_rect_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fill_rect_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fill_rect_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/utils.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1857/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_render_queue.dir/render_queue.cc.o -MF src/graphic/CMakeFiles/graphic_render_queue.dir/render_queue.cc.o.d -o src/graphic/CMakeFiles/graphic_render_queue.dir/render_queue.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1858/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_game_renderer.dir/game_renderer.cc.o -MF src/graphic/CMakeFiles/graphic_game_renderer.dir/game_renderer.cc.o.d -o src/graphic/CMakeFiles/graphic_game_renderer.dir/game_renderer.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/game_renderer.cc:24: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1859/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_minimap_renderer.dir/minimap_renderer.cc.o -MF src/graphic/CMakeFiles/graphic_minimap_renderer.dir/minimap_renderer.cc.o.d -o src/graphic/CMakeFiles/graphic_minimap_renderer.dir/minimap_renderer.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/texture.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/system_headers.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:25: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:100:54: note: used in buffer access here color = dist == 0 ? kWhite : blend_color(color, kPlayerColors[p - 1]); ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.cc:222:33: warning: unsafe buffer access [-Wunsafe-buffer-usage] const auto& field = player->fields()[i]; ~~~~~~~~^~~~~~~~ 81 warnings generated. [1860/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_fields_to_draw.dir/gl/fields_to_draw.cc.o -MF src/graphic/CMakeFiles/graphic_fields_to_draw.dir/gl/fields_to_draw.cc.o.d -o src/graphic/CMakeFiles/graphic_fields_to_draw.dir/gl/fields_to_draw.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1861/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/grid_program.cc.o -MF src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/grid_program.cc.o.d -o src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/grid_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/grid_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/grid_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/grid_program.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/grid_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/grid_program.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/grid_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/grid_program.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/grid_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/grid_program.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/grid_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/grid_program.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1862/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/road_program.cc.o -MF src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/road_program.cc.o.d -o src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/road_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/road_program.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1863/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/terrain_program.cc.o -MF src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/terrain_program.cc.o.d -o src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/terrain_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.cc:113:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] player->fields()[player->egbase().map().get_index(field.fcoords)].terrains.load().d : ~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/terrain_program.cc:126:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] player->fields()[player->egbase().map().get_index(field.fcoords)].terrains.load().r : ~~~~~~~~^~~~~~~~ 79 warnings generated. [1864/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/dither_program.cc.o -MF src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/dither_program.cc.o.d -o src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/dither_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:28: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:167:32: warning: unsafe buffer access [-Wunsafe-buffer-usage] map != nullptr ? player->fields()[map->get_index(field.fcoords)].terrains.load().d : ~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:170:32: warning: unsafe buffer access [-Wunsafe-buffer-usage] map != nullptr ? player->fields()[map->get_index(field.fcoords)].terrains.load().r : ~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:177:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] player->fields()[map->get_index(map->bl_n(field.fcoords))].terrains.load().r : ~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:185:27: warning: unsafe buffer access [-Wunsafe-buffer-usage] player->fields()[map->get_index(map->l_n(field.fcoords))].terrains.load().r : ~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:195:32: warning: unsafe buffer access [-Wunsafe-buffer-usage] map != nullptr ? player->fields()[map->get_index(field.fcoords)].terrains.load().r : ~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:198:32: warning: unsafe buffer access [-Wunsafe-buffer-usage] map != nullptr ? player->fields()[map->get_index(field.fcoords)].terrains.load().d : ~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:205:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] player->fields()[map->get_index(map->r_n(field.fcoords))].terrains.load().d : ~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/dither_program.cc:213:27: warning: unsafe buffer access [-Wunsafe-buffer-usage] player->fields()[map->get_index(map->tr_n(field.fcoords))].terrains.load().d : ~~~~~~~~^~~~~~~~ 85 warnings generated. [1865/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/workarea_program.cc.o -MF src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/workarea_program.cc.o.d -o src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/workarea_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.cc:78:18: warning: 'workarea_colors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static RGBAColor workarea_colors[] // Comment to prevent clang-format from breaking codecheck ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.cc:209:31: note: used in buffer access here RGBAColor color_to_apply = workarea_colors[data.index]; ^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/workarea_program.cc:253:24: note: used in buffer access here RGBAColor& color = workarea_colors[index]; ^~~~~~~~~~~~~~~ 64 warnings generated. [1866/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_fonthandler.dir/font_handler.cc.o -MF src/graphic/CMakeFiles/graphic_fonthandler.dir/font_handler.cc.o.d -o src/graphic/CMakeFiles/graphic_fonthandler.dir/font_handler.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1867/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_text_layout.dir/text_layout.cc.o -MF src/graphic/CMakeFiles/graphic_text_layout.dir/text_layout.cc.o.d -o src/graphic/CMakeFiles/graphic_text_layout.dir/text_layout.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/text_layout.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text_layout.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text_layout.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text_layout.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1868/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_wordwrap.dir/wordwrap.cc.o -MF src/graphic/CMakeFiles/graphic_wordwrap.dir/wordwrap.cc.o.d -o src/graphic/CMakeFiles/graphic_wordwrap.dir/wordwrap.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/wordwrap.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/wordwrap.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/wordwrap.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/scoped_timer.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/wordwrap.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1869/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_mouse_cursor.dir/mouse_cursor.cc.o -MF src/graphic/CMakeFiles/graphic_mouse_cursor.dir/mouse_cursor.cc.o.d -o src/graphic/CMakeFiles/graphic_mouse_cursor.dir/mouse_cursor.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/mouse_cursor.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/mouse_cursor.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image_cache.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1870/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic_functions.dir/graphic_functions.cc.o -MF src/graphic/CMakeFiles/graphic_functions.dir/graphic_functions.cc.o.d -o src/graphic/CMakeFiles/graphic_functions.dir/graphic_functions.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/graphic_functions.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/graphic_functions.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/graphic_functions.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/graphic_functions.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1871/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic.dir/graphic.cc.o -MF src/graphic/CMakeFiles/graphic.dir/graphic.cc.o.d -o src/graphic/CMakeFiles/graphic.dir/graphic.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/graphic.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/graphic.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/graphic.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/graphic.cc:39: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/graphic.cc:39: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/graphic.cc:39: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/render_queue.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1872/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic.dir/style_manager.cc.o -MF src/graphic/CMakeFiles/graphic.dir/style_manager.cc.o.d -o src/graphic/CMakeFiles/graphic.dir/style_manager.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.cc:89:77: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] throw wexception("Expected 3 entries for RGB color, but got %" PRIuS ".", rgbcolor.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:58:56: note: expanded from macro 'wexception' #define wexception(...) WException(__FILE__, __LINE__, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.cc:96:78: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] throw wexception("Expected 4 entries for RGBA color, but got %" PRIuS ".", rgbacolor.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:58:56: note: expanded from macro 'wexception' #define wexception(...) WException(__FILE__, __LINE__, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.cc:122:77: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] throw wexception("Expected 3 entries for RGB color, but got %" PRIuS ".", rgbcolor.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:58:56: note: expanded from macro 'wexception' #define wexception(...) WException(__FILE__, __LINE__, __VA_ARGS__) ^~~~~~~~~~~ 6 warnings generated. [1873/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic.dir/rendertarget.cc.o -MF src/graphic/CMakeFiles/graphic.dir/rendertarget.cc.o.d -o src/graphic/CMakeFiles/graphic.dir/rendertarget.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1874/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/CMakeFiles/graphic.dir/road_segments.cc.o -MF src/graphic/CMakeFiles/graphic.dir/road_segments.cc.o.d -o src/graphic/CMakeFiles/graphic.dir/road_segments.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/road_segments.cc [1875/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/animation/CMakeFiles/graphic_animation.dir/animation.cc.o -MF src/graphic/animation/CMakeFiles/graphic_animation.dir/animation.cc.o.d -o src/graphic/animation/CMakeFiles/graphic_animation.dir/animation.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1876/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/animation/CMakeFiles/graphic_animation.dir/animation_manager.cc.o -MF src/graphic/animation/CMakeFiles/graphic_animation.dir/animation_manager.cc.o.d -o src/graphic/animation/CMakeFiles/graphic_animation.dir/animation_manager.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation_manager.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation_manager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation_manager.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation_manager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation_manager.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1877/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/animation/CMakeFiles/graphic_animation.dir/diranimations.cc.o -MF src/graphic/animation/CMakeFiles/graphic_animation.dir/diranimations.cc.o.d -o src/graphic/animation/CMakeFiles/graphic_animation.dir/diranimations.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.cc:19: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.cc:24:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[1] = dir2; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.cc:25:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[2] = dir3; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.cc:26:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[3] = dir4; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.cc:27:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[4] = dir5; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.cc:28:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[5] = dir6; ^~~~~~~~~~~ 7 warnings generated. [1878/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/animation/CMakeFiles/graphic_animation.dir/nonpacked_animation.cc.o -MF src/graphic/animation/CMakeFiles/graphic_animation.dir/nonpacked_animation.cc.o.d -o src/graphic/animation/CMakeFiles/graphic_animation.dir/nonpacked_animation.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/nonpacked_animation.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/nonpacked_animation.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/nonpacked_animation.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/nonpacked_animation.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/nonpacked_animation.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/nonpacked_animation.cc:80:6: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] image_files.size(), playercolor_mask_image_files.size(), image_files.front().c_str()); ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/nonpacked_animation.cc:80:26: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] image_files.size(), playercolor_mask_image_files.size(), image_files.front().c_str()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/nonpacked_animation.cc:205:8: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] nonpacked_mipmap.image_files.size(), nr_frames_, static_cast(mipmap.first)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. [1879/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/animation/CMakeFiles/graphic_animation.dir/spritesheet_animation.cc.o -MF src/graphic/animation/CMakeFiles/graphic_animation.dir/spritesheet_animation.cc.o.d -o src/graphic/animation/CMakeFiles/graphic_animation.dir/spritesheet_animation.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/spritesheet_animation.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/spritesheet_animation.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/spritesheet_animation.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/spritesheet_animation.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/spritesheet_animation.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1880/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/styles/CMakeFiles/graphic_styles.dir/button_style.cc.o -MF src/graphic/styles/CMakeFiles/graphic_styles.dir/button_style.cc.o.d -o src/graphic/styles/CMakeFiles/graphic_styles.dir/button_style.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1881/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/styles/CMakeFiles/graphic_styles.dir/font_style.cc.o -MF src/graphic/styles/CMakeFiles/graphic_styles.dir/font_style.cc.o.d -o src/graphic/styles/CMakeFiles/graphic_styles.dir/font_style.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/font_style.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/font_style.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/font_style.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1882/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/text/CMakeFiles/graphic_text.dir/bidi.cc.o -MF src/graphic/text/CMakeFiles/graphic_text.dir/bidi.cc.o.d -o src/graphic/text/CMakeFiles/graphic_text.dir/bidi.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/text/bidi.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/bidi.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/bidi.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/bidi.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/bidi.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1883/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/text/CMakeFiles/graphic_text.dir/font_io.cc.o -MF src/graphic/text/CMakeFiles/graphic_text.dir/font_io.cc.o.d -o src/graphic/text/CMakeFiles/graphic_text.dir/font_io.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_io.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_io.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_io.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1884/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/text/CMakeFiles/graphic_text.dir/font_set.cc.o -MF src/graphic/text/CMakeFiles/graphic_text.dir/font_set.cc.o.d -o src/graphic/text/CMakeFiles/graphic_text.dir/font_set.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1885/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/text/CMakeFiles/graphic_text.dir/rt_parse.cc.o -MF src/graphic/text/CMakeFiles/graphic_text.dir/rt_parse.cc.o.d -o src/graphic/text/CMakeFiles/graphic_text.dir/rt_parse.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rt_parse.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rt_parse.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rt_parse.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1886/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/text/CMakeFiles/graphic_text.dir/rt_render.cc.o -MF src/graphic/text/CMakeFiles/graphic_text.dir/rt_render.cc.o.d -o src/graphic/text/CMakeFiles/graphic_text.dir/rt_render.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rt_render.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rt_render.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rt_render.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rt_render.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rt_render.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1887/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/text/CMakeFiles/graphic_text.dir/rendered_text.cc.o -MF src/graphic/text/CMakeFiles/graphic_text.dir/rendered_text.cc.o.d -o src/graphic/text/CMakeFiles/graphic_text.dir/rendered_text.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rendered_text.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rendered_text.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rendered_text.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1888/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/text/CMakeFiles/graphic_text.dir/sdl_ttf_font.cc.o -MF src/graphic/text/CMakeFiles/graphic_text.dir/sdl_ttf_font.cc.o.d -o src/graphic/text/CMakeFiles/graphic_text.dir/sdl_ttf_font.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/text/sdl_ttf_font.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/sdl_ttf_font.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/sdl_ttf_font.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/texture_cache.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/sdl_ttf_font.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/text/sdl_ttf_font.cc:102:13: warning: 'spix' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint32_t* spix = static_cast(tsurf->pixels); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/text/sdl_ttf_font.cc:125:17: note: used in buffer access here SDL_GetRGBA(spix[sidx], tsurf->format, &sr, &sg, &sb, &sa); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/text/sdl_ttf_font.cc:103:13: warning: 'dpix' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint32_t* dpix = static_cast(text_surface->pixels); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/text/sdl_ttf_font.cc:134:5: note: used in buffer access here dpix[didx] = SDL_MapRGBA(text_surface->format, outr, outg, outb, outa); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/text/sdl_ttf_font.cc:126:17: note: used in buffer access here SDL_GetRGBA(dpix[didx], text_surface->format, &dr, &dg, &db, &da); ^~~~ 5 warnings generated. [1889/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/graphic/text/CMakeFiles/graphic_text.dir/textstream.cc.o -MF src/graphic/text/CMakeFiles/graphic_text.dir/textstream.cc.o.d -o src/graphic/text/CMakeFiles/graphic_text.dir/textstream.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/graphic/text/textstream.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/textstream.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/textstream.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1890/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/CMakeFiles/io_stream.dir/streamread.cc.o -MF src/io/CMakeFiles/io_stream.dir/streamread.cc.o.d -o src/io/CMakeFiles/io_stream.dir/streamread.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/streamread.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.cc:24: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/streamread.cc:48:80: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] "Stream ended unexpectedly (%" PRIuS " bytes read, %" PRIuS " expected)", read, size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:77:35: note: expanded from macro 'data_error' #define data_error(...) DataError(__VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/streamread.cc:48:86: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] "Stream ended unexpectedly (%" PRIuS " bytes read, %" PRIuS " expected)", read, size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:77:35: note: expanded from macro 'data_error' #define data_error(...) DataError(__VA_ARGS__) ^~~~~~~~~~~ 17 warnings generated. [1891/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/CMakeFiles/io_stream.dir/streamwrite.cc.o -MF src/io/CMakeFiles/io_stream.dir/streamwrite.cc.o.d -o src/io/CMakeFiles/io_stream.dir/streamwrite.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. [1892/2312] : && /usr/local/bin/cmake -E rm -f src/io/libio_stream.a && /usr/bin/ar qc src/io/libio_stream.a src/io/CMakeFiles/io_stream.dir/streamread.cc.o src/io/CMakeFiles/io_stream.dir/streamwrite.cc.o && /usr/bin/ranlib src/io/libio_stream.a && : [1893/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase_random.a && /usr/bin/ar qc src/base/libbase_random.a src/base/CMakeFiles/base_random.dir/random.cc.o && /usr/bin/ranlib src/base/libbase_random.a && : [1894/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/CMakeFiles/io_fileread.dir/fileread.cc.o -MF src/io/CMakeFiles/io_fileread.dir/fileread.cc.o.d -o src/io/CMakeFiles/io_fileread.dir/fileread.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:77:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] static_cast(dst)[read] = data_[filepos_]; ^~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:77:35: warning: unsafe buffer access [-Wunsafe-buffer-usage] static_cast(dst)[read] = data_[filepos_]; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:92:9: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] return data_ + i; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:102:23: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] char* const result = data_ + i; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:103:13: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (char* p = result; *p != 0; ++p, ++i) { ~~~~~~^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:103:36: note: used in pointer arithmetic here for (char* p = result; *p != 0; ++p, ++i) { ^ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:123:17: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] char* result = data_ + filepos_; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:124:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] for (; (data_[filepos_] != 0) && data_[filepos_] != '\n'; ++filepos_) { ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:124:35: warning: unsafe buffer access [-Wunsafe-buffer-usage] for (; (data_[filepos_] != 0) && data_[filepos_] != '\n'; ++filepos_) { ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:125:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (data_[filepos_] == '\r') { ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:126:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] data_[filepos_] = '\0'; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:128:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (data_[filepos_] == '\n') { ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/fileread.cc:134:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] data_[filepos_] = '\0'; ^~~~~ 13 warnings generated. [1895/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/CMakeFiles/io_fileread.dir/filewrite.cc.o -MF src/io/CMakeFiles/io_fileread.dir/filewrite.cc.o.d -o src/io/CMakeFiles/io_fileread.dir/filewrite.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.cc:73:9: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] memcpy(data_ + i, src, size); ^~~~~ 16 warnings generated. [1896/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/CMakeFiles/io_profile.dir/profile.cc.o -MF src/io/CMakeFiles/io_profile.dir/profile.cc.o.d -o src/io/CMakeFiles/io_profile.dir/profile.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:162:51: warning: 'value' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] void Section::Value::set_string(char const* const value) { ~~~~~~~~~~~~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:167:14: note: used in pointer arithmetic here copy(value, value + len, value_.get()); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:647:30: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline char* skipwhite(char* p) { ~~~~~~^ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:649:5: note: used in pointer arithmetic here ++p; ^ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:655:13: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (char* p = strchr(str, '\0'); str < p; --p) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:655:47: note: used in pointer arithmetic here for (char* p = strchr(str, '\0'); str < p; --p) { ^ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:656:15: note: used in buffer access here if (isspace(p[-1]) == 0) { ^ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:663:32: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] inline void killcomments(char* p) { ~~~~~~^ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:669:5: note: used in pointer arithmetic here ++p; ^ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:731:28: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] for (char* eot = line + strlen(line) - 1; *eot != '"' && *eot != '\''; --eot) { ~~~~~^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:764:29: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] char* const eot = tail + strlen(tail) - 1; ~~~~~^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:768:32: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] char* const eot2 = tail + strlen(tail) - 1; ~~~~~^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:685:9: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* p = nullptr; ~~~~~~^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:705:7: note: used in pointer arithmetic here ++p; ^ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:692:16: warning: 'line' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] while (char* line = fr.read_line()) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:725:9: note: used in pointer arithmetic here ++line; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:731:23: note: used in pointer arithmetic here for (char* eot = line + strlen(line) - 1; *eot != '"' && *eot != '\''; --eot) { ^~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:729:8: note: used in pointer arithmetic here ++line; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:713:11: warning: 'tail' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* tail = nullptr; ~~~~~~^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:753:50: note: used in buffer access here if ((tail[0] == '\'' || tail[0] == '"') && (tail[1] == '\'' || tail[1] == '"')) { ^~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:760:9: note: used in pointer arithmetic here ++tail; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:744:9: note: used in pointer arithmetic here ++tail; // skip =_, which is only used for translations ^~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:753:69: note: used in buffer access here if ((tail[0] == '\'' || tail[0] == '"') && (tail[1] == '\'' || tail[1] == '"')) { ^~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:764:24: note: used in pointer arithmetic here char* const eot = tail + strlen(tail) - 1; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:741:7: note: used in pointer arithmetic here *tail++ = '\0'; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:768:27: note: used in pointer arithmetic here char* const eot2 = tail + strlen(tail) - 1; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:755:7: note: used in pointer arithmetic here tail += 2; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:731:17: warning: 'eot' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (char* eot = line + strlen(line) - 1; *eot != '"' && *eot != '\''; --eot) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:731:79: note: used in pointer arithmetic here for (char* eot = line + strlen(line) - 1; *eot != '"' && *eot != '\''; --eot) { ^~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:840:22: warning: 'str' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char const* const str = temp_value.get_untranslated_string(); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:847:10: note: used in buffer access here if (str[i] == '\n') { ^~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:861:22: warning: 'it' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (char const* it = str; *it != 0; ++it) { ~~~~~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/profile.cc:861:44: note: used in pointer arithmetic here for (char const* it = str; *it != 0; ++it) { ^~ 30 warnings generated. [1897/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/filesystem/CMakeFiles/io_filesystem.dir/disk_filesystem.cc.o -MF src/io/filesystem/CMakeFiles/io_filesystem.dir/disk_filesystem.cc.o.d -o src/io/filesystem/CMakeFiles/io_filesystem.dir/disk_filesystem.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/disk_filesystem.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/disk_filesystem.cc:50: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/disk_filesystem.cc:51: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/disk_filesystem.cc:54: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/zip_filesystem.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/disk_filesystem.cc:147:49: warning: unsafe buffer access [-Wunsafe-buffer-usage] const std::string filename(canonicalize_name(&gl.gl_pathv[i][ofs])); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/disk_filesystem.cc:147:49: warning: unsafe buffer access [-Wunsafe-buffer-usage] const std::string filename(canonicalize_name(&gl.gl_pathv[i][ofs])); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/disk_filesystem.cc:409:40: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fname.c_str(), fullname.c_str(), size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:58:56: note: expanded from macro 'wexception' #define wexception(...) WException(__FILE__, __LINE__, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/disk_filesystem.cc:414:54: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fname.c_str(), fullname.c_str(), size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:58:56: note: expanded from macro 'wexception' #define wexception(...) WException(__FILE__, __LINE__, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/disk_filesystem.cc:416:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] static_cast(data)[size] = 0; ^~~~~~~~~~~~~~~~~~~~~~~~~~ 22 warnings generated. [1898/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/filesystem/CMakeFiles/io_filesystem.dir/filesystem.cc.o -MF src/io/filesystem/CMakeFiles/io_filesystem.dir/filesystem.cc.o.d -o src/io/filesystem/CMakeFiles/io_filesystem.dir/filesystem.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/filesystem.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/filesystem.cc:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/filesystem.cc:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/filesystem.cc:50: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/zip_filesystem.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/filesystem.cc:463:15: warning: 'str' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char const* str = i->c_str(); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/filesystem.cc:473:25: note: used in pointer arithmetic here if (*str == '.' && *(str + 1) == '\0') { ^~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/filesystem.cc:465:6: note: used in pointer arithmetic here ++str; ^~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/filesystem.cc:518:49: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* FileSystem::fs_filename(const char* p) { ~~~~~~~~~~~~^ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/filesystem.cc:523:13: note: used in pointer arithmetic here result = p + 1; ^ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/filesystem.cc:525:5: note: used in pointer arithmetic here ++p; ^ 19 warnings generated. [1899/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/filesystem/CMakeFiles/io_filesystem.dir/layered_filesystem.cc.o -MF src/io/filesystem/CMakeFiles/io_filesystem.dir/layered_filesystem.cc.o.d -o src/io/filesystem/CMakeFiles/io_filesystem.dir/layered_filesystem.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/layered_filesystem.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/layered_filesystem.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1900/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/filesystem/CMakeFiles/io_filesystem.dir/zip_filesystem.cc.o -MF src/io/filesystem/CMakeFiles/io_filesystem.dir/zip_filesystem.cc.o.d -o src/io/filesystem/CMakeFiles/io_filesystem.dir/zip_filesystem.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/zip_filesystem.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/zip_filesystem.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/zip_filesystem.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/zip_filesystem.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/zip_filesystem.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/zip_filesystem.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/zip_filesystem.cc:263:7: warning: 'filename_inzip' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char filename_inzip[256]; ~~~~~^~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/zip_filesystem.cc:268:9: note: used in buffer access here return filename_inzip[strlen(filename_inzip) - 1] == '/'; ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/zip_filesystem.cc:433:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] static_cast(result)[totallen] = 0; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 warnings generated. [1901/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/filesystem/CMakeFiles/io_filesystem_illegal_filename_check.dir/illegal_filename_check.cc.o -MF src/io/filesystem/CMakeFiles/io_filesystem_illegal_filename_check.dir/illegal_filename_check.cc.o.d -o src/io/filesystem/CMakeFiles/io_filesystem_illegal_filename_check.dir/illegal_filename_check.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/illegal_filename_check.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/illegal_filename_check.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/illegal_filename_check.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1902/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/filesystem/test/CMakeFiles/test_io_filesystem.dir/filesystem_test_main.cc.o -MF src/io/filesystem/test/CMakeFiles/test_io_filesystem.dir/filesystem_test_main.cc.o.d -o src/io/filesystem/test/CMakeFiles/test_io_filesystem.dir/filesystem_test_main.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/test/filesystem_test_main.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/test/filesystem_test_main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/test/filesystem_test_main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1903/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/io/filesystem/test/CMakeFiles/test_io_filesystem.dir/test_filesystem.cc.o -MF src/io/filesystem/test/CMakeFiles/test_io_filesystem.dir/test_filesystem.cc.o.d -o src/io/filesystem/test/CMakeFiles/test_io_filesystem.dir/test_filesystem.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/test/test_filesystem.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/test/test_filesystem.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filesystem/test/test_filesystem.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1904/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_exceptions.dir/game_data_error.cc.o -MF src/logic/CMakeFiles/logic_exceptions.dir/game_data_error.cc.o.d -o src/logic/CMakeFiles/logic_exceptions.dir/game_data_error.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/game_data_error.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_data_error.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_data_error.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_data_error.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1905/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_widelands_geometry.dir/widelands_geometry.cc.o -MF src/logic/CMakeFiles/logic_widelands_geometry.dir/widelands_geometry.cc.o.d -o src/logic/CMakeFiles/logic_widelands_geometry.dir/widelands_geometry.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/widelands_geometry.cc [1906/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_widelands_geometry.a && /usr/bin/ar qc src/logic/liblogic_widelands_geometry.a src/logic/CMakeFiles/logic_widelands_geometry.dir/widelands_geometry.cc.o && /usr/bin/ranlib src/logic/liblogic_widelands_geometry.a && : [1907/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_widelands_geometry_io.dir/widelands_geometry_io.cc.o -MF src/logic/CMakeFiles/logic_widelands_geometry_io.dir/widelands_geometry_io.cc.o.d -o src/logic/CMakeFiles/logic_widelands_geometry_io.dir/widelands_geometry_io.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/widelands_geometry_io.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/widelands_geometry_io.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/widelands_geometry_io.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/widelands_geometry_io.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. [1908/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_game_settings.dir/game_settings.cc.o -MF src/logic/CMakeFiles/logic_game_settings.dir/game_settings.cc.o.d -o src/logic/CMakeFiles/logic_game_settings.dir/game_settings.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1909/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_single_player_game_settings.dir/single_player_game_settings_provider.cc.o -MF src/logic/CMakeFiles/logic_single_player_game_settings.dir/single_player_game_settings_provider.cc.o.d -o src/logic/CMakeFiles/logic_single_player_game_settings.dir/single_player_game_settings_provider.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_settings_provider.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_settings_provider.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_settings_provider.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_settings_provider.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_settings_provider.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_settings_provider.cc:27: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_settings_provider.cc:112:18: note: used in buffer access here player.color = kPlayerColors[player_nr]; ^~~~~~~~~~~~~ 4 warnings generated. [1910/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_game_controller.dir/replay_game_controller.cc.o -MF src/logic/CMakeFiles/logic_game_controller.dir/replay_game_controller.cc.o.d -o src/logic/CMakeFiles/logic_game_controller.dir/replay_game_controller.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/replay_game_controller.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay_game_controller.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay_game_controller.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay_game_controller.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay_game_controller.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay_game_controller.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay_game_controller.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay_game_controller.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay_game_controller.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay_game_controller.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1911/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_game_controller.dir/single_player_game_controller.cc.o -MF src/logic/CMakeFiles/logic_game_controller.dir/single_player_game_controller.cc.o.d -o src/logic/CMakeFiles/logic_game_controller.dir/single_player_game_controller.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/single_player_game_controller.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ 82 warnings generated. [1912/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_constants.dir/widelands.cc.o -MF src/logic/CMakeFiles/logic_constants.dir/widelands.cc.o.d -o src/logic/CMakeFiles/logic_constants.dir/widelands.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/widelands.cc [1913/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_constants.a && /usr/bin/ar qc src/logic/liblogic_constants.a src/logic/CMakeFiles/logic_constants.dir/widelands.cc.o && /usr/bin/ranlib src/logic/liblogic_constants.a && : [1914/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_filesystem_constants.dir/filesystem_constants.cc.o -MF src/logic/CMakeFiles/logic_filesystem_constants.dir/filesystem_constants.cc.o.d -o src/logic/CMakeFiles/logic_filesystem_constants.dir/filesystem_constants.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/filesystem_constants.cc [1915/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_filesystem_constants.a && /usr/bin/ar qc src/logic/liblogic_filesystem_constants.a src/logic/CMakeFiles/logic_filesystem_constants.dir/filesystem_constants.cc.o && /usr/bin/ranlib src/logic/liblogic_filesystem_constants.a && : [1916/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_addons.dir/addons.cc.o -MF src/logic/CMakeFiles/logic_addons.dir/addons.cc.o.d -o src/logic/CMakeFiles/logic_addons.dir/addons.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/addons.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/addons.cc:277:12: warning: unsafe buffer access [-Wunsafe-buffer-usage] total += votes[i - 1]; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/addons.cc:278:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] sum += votes[i - 1] * i; ^~~~~ 5 warnings generated. [1917/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_addons.dir/mutable_addon.cc.o -MF src/logic/CMakeFiles/logic_addons.dir/mutable_addon.cc.o.d -o src/logic/CMakeFiles/logic_addons.dir/mutable_addon.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/mutable_addon.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mutable_addon.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mutable_addon.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mutable_addon.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mutable_addon.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mutable_addon.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mutable_addon.cc:34: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 61 warnings generated. [1918/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_objectives.dir/objective.cc.o -MF src/logic/CMakeFiles/logic_objectives.dir/objective.cc.o.d -o src/logic/CMakeFiles/logic_objectives.dir/objective.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/objective.cc [1919/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_generic_save_handler.dir/generic_save_handler.cc.o -MF src/logic/CMakeFiles/logic_generic_save_handler.dir/generic_save_handler.cc.o.d -o src/logic/CMakeFiles/logic_generic_save_handler.dir/generic_save_handler.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:71:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] error_msg_[index] = ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:76:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] log_err("%s", error_msg_[index].c_str()); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:51:54: note: expanded from macro 'log_err' #define log_err(...) do_log(LogType::kError, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:87:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] error_msg_[index] = format("GenericSaveHandler::make_backup: file %s " ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:90:17: warning: unsafe buffer access [-Wunsafe-buffer-usage] log_err("%s", error_msg_[index].c_str()); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:51:54: note: expanded from macro 'log_err' #define log_err(...) do_log(LogType::kError, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:103:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] error_msg_[index] = format("GenericSaveHandler::save_file: data could not be " ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:106:17: warning: unsafe buffer access [-Wunsafe-buffer-usage] log_err("%s", error_msg_[index].c_str()); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:51:54: note: expanded from macro 'log_err' #define log_err(...) do_log(LogType::kError, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:117:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] error_msg_[index] = format("GenericSaveHandler::save_file: possibly corrupt " ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:120:19: warning: unsafe buffer access [-Wunsafe-buffer-usage] log_err("%s", error_msg_[index].c_str()); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:51:54: note: expanded from macro 'log_err' #define log_err(...) do_log(LogType::kError, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:137:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] error_msg_[index] = format("GenericSaveHandler::save: directory %s could not be " ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:140:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] log_err("%s", error_msg_[index].c_str()); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:51:54: note: expanded from macro 'log_err' #define log_err(...) do_log(LogType::kError, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:164:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] error_msg_[index] = format("GenericSaveHandler::save: backup file %s could " ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:167:20: warning: unsafe buffer access [-Wunsafe-buffer-usage] log_err("%s", error_msg_[index].c_str()); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:51:54: note: expanded from macro 'log_err' #define log_err(...) do_log(LogType::kError, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:174:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] error_msg_[index] = format("GenericSaveHandler::save: file %s could not be " ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:177:20: warning: unsafe buffer access [-Wunsafe-buffer-usage] log_err("%s", error_msg_[index].c_str()); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:51:54: note: expanded from macro 'log_err' #define log_err(...) do_log(LogType::kError, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:185:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] error_msg_[index] = ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:189:21: warning: unsafe buffer access [-Wunsafe-buffer-usage] log_err("%s", error_msg_[index].c_str()); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:51:54: note: expanded from macro 'log_err' #define log_err(...) do_log(LogType::kError, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:198:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] error_msg_[index] = format("GenericSaveHandler::save: unknown error: %s\n", e.what()); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:199:17: warning: unsafe buffer access [-Wunsafe-buffer-usage] log_err("%s", error_msg_[index].c_str()); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:51:54: note: expanded from macro 'log_err' #define log_err(...) do_log(LogType::kError, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/generic_save_handler.cc:210:15: warning: unsafe buffer access [-Wunsafe-buffer-usage] err_msg += error_msg_[index]; ^~~~~~~~~~ 22 warnings generated. [1920/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_map.dir/field.cc.o -MF src/logic/CMakeFiles/logic_map.dir/field.cc.o.d -o src/logic/CMakeFiles/logic_map.dir/field.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/field.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1921/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_map.dir/map.cc.o -MF src/logic/CMakeFiles/logic_map.dir/map.cc.o.d -o src/logic/CMakeFiles/logic_map.dir/map.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:19: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:29: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:30: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:438:41: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] verb_log_info("%" PRIuS " found ... ", valuable_fields_.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:68:33: note: expanded from macro 'verb_log_info' do_log(LogType::kInfo, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:458:41: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] verb_log_info("%" PRIuS " found ... ", valuable_fields_.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:68:33: note: expanded from macro 'verb_log_info' do_log(LogType::kInfo, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:587:42: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] for (c.x = 0; c.x < width_; ++c.x, ++c.field) { ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:1807:26: warning: 'cycledirs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const WalkingDir cycledirs[16] = {WALK_NE, WALK_NE, WALK_NE, WALK_NW, WALK_NW, WALK_W, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:1849:25: note: used in buffer access here f = get_neighbour(f, cycledirs[i]); ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:2237:23: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] cur.field = fields_.get() + (curpf - pathfields->fields.get()); ~~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:2250:17: warning: 'direction' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] int8_t const* direction = ((cur.x + cur.y) & 1) != 0 ? order1 : order2; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:2253:38: note: used in pointer arithmetic here for (uint32_t i = 6; i != 0u; i--, direction++) { ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:2543:7: warning: 'check' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] bool check[] = {false, false, false, false, false, false}; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:2559:4: note: used in buffer access here check[i] = true; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:2564:7: note: used in buffer access here if (check[i]) { ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:2554:4: note: used in buffer access here check[i] = true; ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:2545:16: warning: 'n' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const FCoords n[] = { ~~~~~~~~~~~~~~^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:2549:15: note: used in buffer access here Field& f = *n[i].field; ^ /pobj/widelands-1.1/widelands-1.1/src/logic/map.cc:2565:28: note: used in buffer access here check_neighbour_heights(n[i], area); ^ 73 warnings generated. [1922/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_map.dir/map_revision.cc.o -MF src/logic/CMakeFiles/logic_map.dir/map_revision.cc.o.d -o src/logic/CMakeFiles/logic_map.dir/map_revision.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_revision.cc [1923/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_map.dir/mapastar.cc.o -MF src/logic/CMakeFiles/logic_map.dir/mapastar.cc.o.d -o src/logic/CMakeFiles/logic_map.dir/mapastar.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 49 warnings generated. [1924/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_map.dir/mapdifferenceregion.cc.o -MF src/logic/CMakeFiles/logic_map.dir/mapdifferenceregion.cc.o.d -o src/logic/CMakeFiles/logic_map.dir/mapdifferenceregion.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/mapdifferenceregion.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapdifferenceregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapdifferenceregion.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapdifferenceregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapdifferenceregion.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapdifferenceregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapdifferenceregion.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [1925/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_map.dir/mapfringeregion.cc.o -MF src/logic/CMakeFiles/logic_map.dir/mapfringeregion.cc.o.d -o src/logic/CMakeFiles/logic_map.dir/mapfringeregion.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/mapfringeregion.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapfringeregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapfringeregion.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapfringeregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapfringeregion.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapfringeregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mapfringeregion.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [1926/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_map.dir/maphollowregion.cc.o -MF src/logic/CMakeFiles/logic_map.dir/maphollowregion.cc.o.d -o src/logic/CMakeFiles/logic_map.dir/maphollowregion.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/maphollowregion.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maphollowregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maphollowregion.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maphollowregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maphollowregion.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maphollowregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maphollowregion.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [1927/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_map.dir/maptriangleregion.cc.o -MF src/logic/CMakeFiles/logic_map.dir/maptriangleregion.cc.o.d -o src/logic/CMakeFiles/logic_map.dir/maptriangleregion.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/maptriangleregion.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maptriangleregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maptriangleregion.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maptriangleregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maptriangleregion.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maptriangleregion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/maptriangleregion.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [1928/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_map.dir/path.cc.o -MF src/logic/CMakeFiles/logic_map.dir/path.cc.o.d -o src/logic/CMakeFiles/logic_map.dir/path.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/path.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/path.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/path.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/path.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/path.cc:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/path.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1929/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_map.dir/pathfield.cc.o -MF src/logic/CMakeFiles/logic_map.dir/pathfield.cc.o.d -o src/logic/CMakeFiles/logic_map.dir/pathfield.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/pathfield.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/pathfield.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/pathfield.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cookie_priority_queue.h:27: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1930/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_commands.dir/cmd_calculate_statistics.cc.o -MF src/logic/CMakeFiles/logic_commands.dir/cmd_calculate_statistics.cc.o.d -o src/logic/CMakeFiles/logic_commands.dir/cmd_calculate_statistics.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_calculate_statistics.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_calculate_statistics.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_calculate_statistics.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_calculate_statistics.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_calculate_statistics.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_calculate_statistics.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_calculate_statistics.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1931/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_commands.dir/cmd_delete_message.cc.o -MF src/logic/CMakeFiles/logic_commands.dir/cmd_delete_message.cc.o.d -o src/logic/CMakeFiles/logic_commands.dir/cmd_delete_message.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_delete_message.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_delete_message.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_delete_message.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_delete_message.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_delete_message.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_delete_message.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_delete_message.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_delete_message.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_delete_message.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_delete_message.cc:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1932/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_commands.dir/cmd_incorporate.cc.o -MF src/logic/CMakeFiles/logic_commands.dir/cmd_incorporate.cc.o.d -o src/logic/CMakeFiles/logic_commands.dir/cmd_incorporate.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1933/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_commands.dir/cmd_luacoroutine.cc.o -MF src/logic/CMakeFiles/logic_commands.dir/cmd_luacoroutine.cc.o.d -o src/logic/CMakeFiles/logic_commands.dir/cmd_luacoroutine.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luacoroutine.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luacoroutine.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luacoroutine.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luacoroutine.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luacoroutine.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luacoroutine.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luacoroutine.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luacoroutine.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luacoroutine.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luacoroutine.cc:31: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1934/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_commands.dir/cmd_luascript.cc.o -MF src/logic/CMakeFiles/logic_commands.dir/cmd_luascript.cc.o.d -o src/logic/CMakeFiles/logic_commands.dir/cmd_luascript.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luascript.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luascript.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luascript.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luascript.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luascript.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luascript.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_luascript.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1935/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_commands.dir/cmd_queue.cc.o -MF src/logic/CMakeFiles/logic_commands.dir/cmd_queue.cc.o.d -o src/logic/CMakeFiles/logic_commands.dir/cmd_queue.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.cc:28: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_queue.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 80 warnings generated. [1936/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_commands.dir/queue_cmd_factory.cc.o -MF src/logic/CMakeFiles/logic_commands.dir/queue_cmd_factory.cc.o.d -o src/logic/CMakeFiles/logic_commands.dir/queue_cmd_factory.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/queue_cmd_factory.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/queue_cmd_factory.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/queue_cmd_factory.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/queue_cmd_factory.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/queue_cmd_factory.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/queue_cmd_factory.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/cmd_call_economy_balance.h:22: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/queue_cmd_factory.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/cmd_incorporate.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/queue_cmd_factory.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 66 warnings generated. [1937/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_commands.dir/playercommand.cc.o -MF src/logic/CMakeFiles/logic_commands.dir/playercommand.cc.o.d -o src/logic/CMakeFiles/logic_commands.dir/playercommand.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:37: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:38: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:1722:78: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] player->player_number(), flag->owner().player_number(), soldiers_.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:55:31: note: expanded from macro 'verb_log_info_time' do_log(LogType::kInfo, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.cc:1846:17: warning: unsafe buffer access [-Wunsafe-buffer-usage] fw.unsigned_32(mos.message_savers[sender() - 1][message_id()].value()); ^~~~~~~~~~~~~~~~~~ 84 warnings generated. [1938/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic_training_wheels.dir/training_wheels.cc.o -MF src/logic/CMakeFiles/logic_training_wheels.dir/training_wheels.cc.o.d -o src/logic/CMakeFiles/logic_training_wheels.dir/training_wheels.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/training_wheels.cc [1939/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic.dir/ai_dna_handler.cc.o -MF src/logic/CMakeFiles/logic.dir/ai_dna_handler.cc.o.d -o src/logic/CMakeFiles/logic.dir/ai_dna_handler.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1940/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic.dir/editor_game_base.cc.o -MF src/logic/CMakeFiles/logic.dir/editor_game_base.cc.o.d -o src/logic/CMakeFiles/logic.dir/editor_game_base.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:29: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:44: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.cc:52: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ 83 warnings generated. [1941/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic.dir/game.cc.o -MF src/logic/CMakeFiles/logic.dir/game.cc.o.d -o src/logic/CMakeFiles/logic.dir/game.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:39: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:41: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:41: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:57: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:63: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:99:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] excerpts_buffer_[current_excerpt_id_].clear(); ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:132:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] excerpts_buffer_[current_excerpt_id_].append(static_cast(sync_data), size); ^~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:298:20: note: used in buffer access here add_player(p, 0, kPlayerColors[p - 1], tribe, map().get_scenario_player_name(p)); ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:908:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] syncwrapper_.excerpts_buffer_[syncwrapper_.current_excerpt_id_].clear(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:939:14: warning: unsafe buffer access [-Wunsafe-buffer-usage] file->text(syncwrapper_.excerpts_buffer_[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:940:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] syncwrapper_.excerpts_buffer_[i].clear(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:1298:2: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] iterate_Map_FCoords(themap, extent, fc) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1338:70: note: expanded from macro 'iterate_Map_FCoords' for (fc.x = 0; fc.x < static_cast(extent.w); ++fc.x, ++fc.field) ~~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/md5.h:87:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] ctx.total[0] = ctx.total[1] = 0; ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/game.cc:168:12: note: in instantiation of member function 'MD5Checksum::reset' requested here synchash_.reset(); ^ 88 warnings generated. [1942/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic.dir/player.cc.o -MF src/logic/CMakeFiles/logic.dir/player.cc.o.d -o src/logic/CMakeFiles/logic.dir/player.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:19: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:35: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:56: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:69:21: warning: 'c' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] Widelands::FCoords c[4]; // Big buildings occupy 4 locations. ~~~~~~~~~~~~~~~~~~~^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:88:51: note: used in buffer access here if (Widelands::BaseImmovable* const immovable = c[i].field->get_immovable()) { ^ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:81:21: note: used in buffer access here map.get_ln(c[0], &c[3]); ^ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:86:57: note: used in buffer access here player_number, Widelands::Area(c[i], 1))); ^ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:80:22: note: used in buffer access here map.get_tln(c[0], &c[2]); ^ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:79:22: note: used in buffer access here map.get_trn(c[0], &c[1]); ^ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:71:21: note: used in buffer access here map.get_brn(c[0], &c[1]); ^ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:653:6: warning: format specifies type 'unsigned int' but the argument has type 'StepVector::size_type' (aka 'unsigned long') [-Wformat] path.get_nsteps()); ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:45:66: note: expanded from macro 'log_warn_time' #define log_warn_time(time, ...) do_log(LogType::kWarning, time, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:1326:33: warning: unsafe buffer access [-Wunsafe-buffer-usage] const VisibleState r_vision = fields()[r_index].vision; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:1330:34: warning: unsafe buffer access [-Wunsafe-buffer-usage] const VisibleState br_vision = fields()[br_index].vision; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:1334:34: warning: unsafe buffer access [-Wunsafe-buffer-usage] const VisibleState bl_vision = fields()[bl_index].vision; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:1609:21: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (team_player->fields()[i].vision.is_seen_by_us()) { ~~~~~~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:2005:46: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] description.c_str(), nr_entries, stats_vector.size()); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:2005:58: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] description.c_str(), nr_entries, stats_vector.size()); ^~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/player.cc:2012:45: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] description.c_str(), nr_entries); ^~~~~~~~~~ 90 warnings generated. [1943/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic.dir/playersmanager.cc.o -MF src/logic/CMakeFiles/logic.dir/playersmanager.cc.o.d -o src/logic/CMakeFiles/logic.dir/playersmanager.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:19: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:24: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:38:43: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] const Player* const* const players_end = players_ + kMaxPlayers; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:39:16: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (Player** p = players_; p < players_end; ++p) { ~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:39:49: note: used in pointer arithmetic here for (Player** p = players_; p < players_end; ++p) { ^ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:51:15: warning: unsafe buffer access [-Wunsafe-buffer-usage] Player*& p = players_[plnum - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.cc:70:15: warning: unsafe buffer access [-Wunsafe-buffer-usage] Player*& p = players_[player_number - 1]; ^~~~~~~~ 83 warnings generated. [1944/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic.dir/replay.cc.o -MF src/logic/CMakeFiles/logic.dir/replay.cc.o.d -o src/logic/CMakeFiles/logic.dir/replay.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/replay.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay.cc:41: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay.cc:41: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/replay.cc:41: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 warnings generated. [1945/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/CMakeFiles/logic.dir/save_handler.cc.o -MF src/logic/CMakeFiles/logic.dir/save_handler.cc.o.d -o src/logic/CMakeFiles/logic.dir/save_handler.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/save_handler.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/save_handler.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/save_handler.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/save_handler.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/save_handler.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/save_handler.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/save_handler.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/save_handler.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/save_handler.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1946/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects_description_maintainer.dir/description_maintainer.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects_description_maintainer.dir/description_maintainer.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects_description_maintainer.dir/description_maintainer.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/description_maintainer.cc [1947/2312] : && /usr/local/bin/cmake -E rm -f src/logic/map_objects/liblogic_map_objects_description_maintainer.a && /usr/bin/ar qc src/logic/map_objects/liblogic_map_objects_description_maintainer.a src/logic/map_objects/CMakeFiles/logic_map_objects_description_maintainer.dir/description_maintainer.cc.o && /usr/bin/ranlib src/logic/map_objects/liblogic_map_objects_description_maintainer.a && : [1948/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects_description_manager.dir/description_manager.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects_description_manager.dir/description_manager.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects_description_manager.dir/description_manager.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/description_manager.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/description_manager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/description_manager.h:27: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/description_manager.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1949/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_tribe_basic_info.dir/tribes/tribe_basic_info.cc.o -MF src/logic/map_objects/CMakeFiles/logic_tribe_basic_info.dir/tribes/tribe_basic_info.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_tribe_basic_info.dir/tribes/tribe_basic_info.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_basic_info.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_basic_info.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_basic_info.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_basic_info.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_basic_info.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1950/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/backtrace.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/backtrace.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/backtrace.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/backtrace.cc /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/backtrace.cc:40:20: warning: 'it' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (char* const* it = list; size != 0u; --size, ++it) { ~~~~~~~~~~~~~^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/backtrace.cc:40:53: note: used in pointer arithmetic here for (char* const* it = list; size != 0u; --size, ++it) { ^~ 1 warning generated. [1951/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/bob.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/bob.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/bob.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:25: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:36: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:41: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:41: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:41: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:975:59: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] molog(egbase.get_gametime(), "Stack size: %" PRIuS "\n", stack_.size()); ~~~~~~~~ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:978:70: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] molog(egbase.get_gametime(), "Stack dump %" PRIuS "/%" PRIuS "\n", i + 1, stack_.size()); ~~~~~~~~ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:978:77: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] molog(egbase.get_gametime(), "Stack dump %" PRIuS "/%" PRIuS "\n", i + 1, stack_.size()); ~~~~~~~~ ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:1001:65: warning: format specifies type 'unsigned int' but the argument has type 'StepVector::size_type' (aka 'unsigned long') [-Wformat] molog(egbase.get_gametime(), "** Path length: %" PRIuS "\n", path.get_nsteps()); ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:1091:15: warning: 'anims' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] uint32_t anims[6]; ~~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:1105:43: note: used in buffer access here DirAnimations(anims[0], anims[1], anims[2], anims[3], anims[4], anims[5]); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:1105:53: note: used in buffer access here DirAnimations(anims[0], anims[1], anims[2], anims[3], anims[4], anims[5]); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:1105:33: note: used in buffer access here DirAnimations(anims[0], anims[1], anims[2], anims[3], anims[4], anims[5]); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:1105:63: note: used in buffer access here DirAnimations(anims[0], anims[1], anims[2], anims[3], anims[4], anims[5]); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.cc:1105:73: note: used in buffer access here DirAnimations(anims[0], anims[1], anims[2], anims[3], anims[4], anims[5]); ^~~~~ 85 warnings generated. [1952/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/buildcost.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/buildcost.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/buildcost.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 63 warnings generated. [1953/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/checkstep.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/checkstep.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/checkstep.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/checkstep.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/checkstep.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/checkstep.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/checkstep.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/checkstep.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/checkstep.cc:21: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/checkstep.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/checkstep.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/checkstep.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/checkstep.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/checkstep.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [1954/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/descriptions.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/descriptions.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/descriptions.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.cc:39: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [1955/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/descriptions_compatibility_table.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/descriptions_compatibility_table.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/descriptions_compatibility_table.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions_compatibility_table.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions_compatibility_table.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions_compatibility_table.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1956/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findbob.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findbob.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findbob.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findbob.cc:23: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1957/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findimmovable.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findimmovable.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findimmovable.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findimmovable.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findimmovable.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findimmovable.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object_type.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findimmovable.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findimmovable.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findimmovable.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findimmovable.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findimmovable.cc:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 64 warnings generated. [1958/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findnode.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findnode.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findnode.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findnode.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findnode.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findnode.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findnode.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findnode.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/findnode.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1959/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/immovable.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/immovable.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/immovable.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.cc:33: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.cc:824:77: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] log_warn("PlayerImmovable::~PlayerImmovable: %" PRIuS " workers left!\n", workers_.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:50:57: note: expanded from macro 'log_warn' #define log_warn(...) do_log(LogType::kWarning, Time(), __VA_ARGS__) ^~~~~~~~~~~ 78 warnings generated. [1960/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/immovable_program.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/immovable_program.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/immovable_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable_program.cc:30: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1961/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/map_object.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/map_object.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/map_object.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:38: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:43:19: warning: 'animation_direction_names' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char const* const animation_direction_names[6] = {"_ne", "_e", "_se", "_sw", "_w", "_nw"}; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:356:27: note: used in buffer access here animation_direction_names[dir], animation_direction_names[0]); ^~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:346:32: note: used in buffer access here "Direction '%s': %s", animation_direction_names[dir], e.what()); ^~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:333:58: note: used in buffer access here const std::string directional_animname = animname + animation_direction_names[dir]; ^~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:338:58: note: used in buffer access here const std::string directional_basename = basename + animation_direction_names[dir]; ^~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:43:19: warning: 'animation_direction_names' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char const* const animation_direction_names[6] = {"_ne", "_e", "_se", "_sw", "_w", "_nw"}; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.cc:384:44: note: used in buffer access here const std::string anim_name = basename + animation_direction_names[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [1962/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/map_object_program.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/map_object_program.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/map_object_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object_program.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object_program.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object_program.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 5 warnings generated. [1963/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/terrain_affinity.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/terrain_affinity.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/terrain_affinity.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/terrain_affinity.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/terrain_affinity.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/terrain_affinity.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/terrain_affinity.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/terrain_affinity.cc:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [1964/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/battle.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/battle.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/battle.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.h:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.h:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.h:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/battle.cc:28: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1965/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/building.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/building.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/building.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.cc:28: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.cc:44: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.cc:44: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.cc:44: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.cc:840:67: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] molog(egbase.get_gametime(), "leave_queue.size(): %" PRIuS "\n", leave_queue_.size()); ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ 79 warnings generated. [1966/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/building_settings.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/building_settings.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/building_settings.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building_settings.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building_settings.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building_settings.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building_settings.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building_settings.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building_settings.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [1967/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/carrier.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/carrier.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/carrier.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.cc:23: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.cc:30: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [1968/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/constructionsite.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/constructionsite.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/constructionsite.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.cc:42: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.cc:42: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.cc:42: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1969/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/dismantlesite.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/dismantlesite.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/dismantlesite.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1970/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ferry.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ferry.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ferry.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ferry.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [1971/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/market.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/market.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/market.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/request.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/market.cc:26: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1972/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/militarysite.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/militarysite.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/militarysite.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:26: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:37: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:38: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:390:33: warning: unsafe buffer access [-Wunsafe-buffer-usage] owner().tribe().get_soldier_capacity_strings_sg()[1].c_str(), ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:51:58: note: expanded from macro 'npgettext' #define npgettext(c, s, p, n) i18n::npgettext_wrapper(c, s, p, n) ^ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:391:33: warning: unsafe buffer access [-Wunsafe-buffer-usage] owner().tribe().get_soldier_capacity_strings_pl()[1].c_str(), stationed), ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:51:61: note: expanded from macro 'npgettext' #define npgettext(c, s, p, n) i18n::npgettext_wrapper(c, s, p, n) ^ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:398:33: warning: unsafe buffer access [-Wunsafe-buffer-usage] owner().tribe().get_soldier_capacity_strings_sg()[2].c_str(), ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:51:58: note: expanded from macro 'npgettext' #define npgettext(c, s, p, n) i18n::npgettext_wrapper(c, s, p, n) ^ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:399:33: warning: unsafe buffer access [-Wunsafe-buffer-usage] owner().tribe().get_soldier_capacity_strings_pl()[2].c_str(), stationed), ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:51:61: note: expanded from macro 'npgettext' #define npgettext(c, s, p, n) i18n::npgettext_wrapper(c, s, p, n) ^ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:404:33: warning: unsafe buffer access [-Wunsafe-buffer-usage] owner().tribe().get_soldier_capacity_strings_sg()[3].c_str(), ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:51:58: note: expanded from macro 'npgettext' #define npgettext(c, s, p, n) i18n::npgettext_wrapper(c, s, p, n) ^ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.cc:405:33: warning: unsafe buffer access [-Wunsafe-buffer-usage] owner().tribe().get_soldier_capacity_strings_pl()[3].c_str(), stationed), ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:51:61: note: expanded from macro 'npgettext' #define npgettext(c, s, p, n) i18n::npgettext_wrapper(c, s, p, n) ^ 84 warnings generated. [1973/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/partially_finished_building.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/partially_finished_building.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/partially_finished_building.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1974/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/production_program.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/production_program.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/production_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:30: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:31: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:49: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:49: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:802:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] handling_methods_[program_result_index(ProgramResult::kFailed)] = ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:804:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] handling_methods_[program_result_index(ProgramResult::kCompleted)] = ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:806:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] handling_methods_[program_result_index(ProgramResult::kSkipped)] = ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:820:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (handling_methods_[program_result_index(ProgramResult::kFailed)] != ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:826:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (handling_methods_[program_result_index(ProgramResult::kCompleted)] != ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:832:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (handling_methods_[program_result_index(ProgramResult::kSkipped)] != ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:855:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] handling_methods_[program_result_index(result_to_set_method_for)] = handling_method; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/production_program.cc:868:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] switch (handling_methods_[program_result_index(program_result)]) { ^~~~~~~~~~~~~~~~~ 86 warnings generated. [1975/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/productionsite.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/productionsite.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/productionsite.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.cc:27: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.cc:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.cc:43: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1976/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/requirements.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/requirements.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/requirements.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/requirements.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/requirements.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/requirements.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/requirements.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/requirements.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 19 warnings generated. [1977/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/road_textures.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/road_textures.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/road_textures.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/road_textures.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/road_textures.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/road_textures.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1978/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ship.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ship.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ship.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:19: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:27: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:46: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:46: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:74:21: warning: 'c' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] Widelands::FCoords c[4]; // Big buildings occupy 4 locations. ~~~~~~~~~~~~~~~~~~~^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:78:22: note: used in buffer access here map.get_trn(coord, &c[3]); ^ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:76:21: note: used in buffer access here map.get_ln(coord, &c[1]); ^ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:77:22: note: used in buffer access here map.get_tln(coord, &c[2]); ^ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:396:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] expedition_->swimmable[dir - 1] = ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:541:19: warning: variable 'secure' set but not used [-Wunused-but-set-variable] for (uint8_t secure = 0; exp_dir_swimmable(expedition_->scouting_direction); ^ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:462:16: warning: 'dirs' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] unsigned int dirs[LAST_DIRECTION + 1]; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:495:29: note: used in buffer access here std::min(prob[dir], dirs[(dir % 6) + 1] + dirs[1 + ((dir - 1) % 6)]); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:467:4: note: used in buffer access here dirs[dir] = (node.field->nodecaps() & MOVECAPS_WALK) != 0 ? 10 : 0; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:478:5: note: used in buffer access here dirs[dir] += 3; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:495:51: note: used in buffer access here std::min(prob[dir], dirs[(dir % 6) + 1] + dirs[1 + ((dir - 1) % 6)]); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:481:30: note: used in buffer access here dirmax = std::max(dirmax, dirs[dir]); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:491:36: note: used in buffer access here prob[dir] = 10 * dirmax - 10 * dirs[dir]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:485:17: warning: 'prob' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] unsigned int prob[LAST_DIRECTION + 1]; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:496:6: note: used in buffer access here prob[dir] -= delta; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:495:18: note: used in buffer access here std::min(prob[dir], dirs[(dir % 6) + 1] + dirs[1 + ((dir - 1) % 6)]); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:509:18: note: used in buffer access here while (rnd >= prob[dir]) { ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:499:18: note: used in buffer access here totalprob += prob[dir]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:491:5: note: used in buffer access here prob[dir] = 10 * dirmax - 10 * dirs[dir]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:510:12: note: used in buffer access here rnd -= prob[dir]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:1076:64: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] molog(egbase.get_gametime(), "Carrying %" PRIuS " items%s\n", items_.size(), ~~~~~~~~ ^~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:43: /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.h:164:16: warning: 'direction' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] int8_t const* direction = ((cur.x + cur.y) & 1) ? order1 : order2; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.cc:779:15: note: in instantiation of member function 'Widelands::MapAStar::step' requested here while (astar.step(cur, cost)) { ^ /pobj/widelands-1.1/widelands-1.1/src/logic/mapastar.h:167:31: note: used in pointer arithmetic here for (uint32_t i = 6; i; i--, direction++) { ^~~~~~~~~ 87 warnings generated. [1979/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/soldier.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/soldier.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/soldier.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.cc:27: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.cc:28: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.cc:46: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.cc:47: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.cc:190:6: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] image_filenames.size()); ^~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [1980/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/trainingsite.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/trainingsite.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/trainingsite.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.cc:35: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1981/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/tribe_descr.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/tribe_descr.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/tribe_descr.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:36: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:259:23: warning: unsafe buffer access [-Wunsafe-buffer-usage] load_soldier_string(soldier_capacity_strings_sg_[1], "soldier_1_sg", "%1% soldier"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:260:23: warning: unsafe buffer access [-Wunsafe-buffer-usage] load_soldier_string(soldier_capacity_strings_pl_[1], "soldier_1_pl", "%1% soldiers"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:262:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] soldier_capacity_strings_sg_[2], "soldier_2_sg", "%1%(+%2%) soldier (+%3%)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:264:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] soldier_capacity_strings_pl_[2], "soldier_2_pl", "%1%(+%2%) soldiers (+%3%)"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:265:23: warning: unsafe buffer access [-Wunsafe-buffer-usage] load_soldier_string(soldier_capacity_strings_sg_[3], "soldier_3_sg", "%1%(+%2%) soldier"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.cc:266:23: warning: unsafe buffer access [-Wunsafe-buffer-usage] load_soldier_string(soldier_capacity_strings_pl_[3], "soldier_3_pl", "%1%(+%2%) soldiers"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 warnings generated. [1982/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ware_descr.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ware_descr.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ware_descr.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ware_descr.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ware_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ware_descr.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ware_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ware_descr.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ware_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ware_descr.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ware_descr.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ware_descr.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 63 warnings generated. [1983/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/warehouse.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/warehouse.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/warehouse.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc:28: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc:44: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc:45: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.cc:652:73: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] molog(egbase.get_gametime(), "Found %" PRIuS " fields for the dock\n", dock.size()); ~~~~~~~~ ^~~~~~~~~~~ 81 warnings generated. [1984/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/warelist.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/warelist.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/warelist.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warelist.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warelist.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1985/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/idleworkersupply.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/supply.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/trackptr.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc:27: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc:28: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc:47: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc:47: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.cc:3168:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] Time time = owner().fields()[idx].time_node_last_unseen; ~~~~~~~~^~~~~~~~ 80 warnings generated. [1986/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker_descr.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker_descr.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker_descr.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_descr.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_descr.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_descr.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_descr.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_descr.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_descr.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_descr.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/carrier.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 63 warnings generated. [1987/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker_program.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker_program.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker_program.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.cc:80:46: warning: 'parsemap_' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const WorkerProgram::ParseMap WorkerProgram::parsemap_[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.cc:130:8: note: used in buffer access here if (parsemap_[mapidx].name == nullptr) { ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.cc:124:21: note: used in buffer access here for (mapidx = 0; parsemap_[mapidx].name != nullptr; ++mapidx) { ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.cc:125:28: note: used in buffer access here if (parseinput.name == parsemap_[mapidx].name) { ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker_program.cc:135:12: note: used in buffer access here (this->*parsemap_[mapidx].function)(&act, parseinput.arguments); ^~~~~~~~~ 64 warnings generated. [1988/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/walkingdir.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/walkingdir.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/walkingdir.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/walkingdir.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/walkingdir.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1989/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/critter.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/critter.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/critter.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/critter.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/critter.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/critter.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/critter.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/critter.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/critter.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/critter.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/critter.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/critter.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/critter.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 63 warnings generated. [1990/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/map_gen.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/map_gen.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/map_gen.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/map_gen.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/map_gen.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/map_gen.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/terrain_description.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/map_gen.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [1991/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/resource_description.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/resource_description.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/resource_description.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/resource_description.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/resource_description.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/resource_description.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/resource_description.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [1992/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/terrain_description.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/terrain_description.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/terrain_description.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/terrain_description.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/terrain_description.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/terrain_description.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/terrain_description.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/terrain_description.cc:349:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] minimap_colors_[shade] = RGBColor(new_r, new_g, new_b); ^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/world/terrain_description.cc:355:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] return minimap_colors_[128 + shade]; ^~~~~~~~~~~~~~~ 5 warnings generated. [1993/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/logic/map_objects/CMakeFiles/logic_map_object_type.dir/map_object_type.cc.o -MF src/logic/map_objects/CMakeFiles/logic_map_object_type.dir/map_object_type.cc.o.d -o src/logic/map_objects/CMakeFiles/logic_map_object_type.dir/map_object_type.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object_type.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object_type.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object_type.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1994/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io_map_loader.dir/widelands_map_loader.cc.o -MF src/map_io/CMakeFiles/map_io_map_loader.dir/widelands_map_loader.cc.o.d -o src/map_io/CMakeFiles/map_io_map_loader.dir/widelands_map_loader.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_loader.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.cc:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.cc:368:16: warning: 'field' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (Field* field = &map()[0]; field < &fields_end; ++field) { ~~~~~~~^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/widelands_map_loader.cc:368:58: note: used in pointer arithmetic here for (Field* field = &map()[0]; field < &fields_end; ++field) { ^~~~~ 78 warnings generated. [1995/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io_map_loader.dir/s2map.cc.o -MF src/map_io/CMakeFiles/map_io_map_loader.dir/s2map.cc.o.d -o src/map_io/CMakeFiles/map_io_map_loader.dir/s2map.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_loader.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_loader.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_loader.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:65:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (header.name[19] != 0) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:77:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (header.author[19] != 0) { ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:226:18: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] memcpy(section.get() + y * width, ptr, width); ~~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:193:7: warning: 'buffer' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char buffer[256]; ~~~~~^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:198:27: note: used in buffer access here buffer[4] != 0x00 || buffer[5] != 0x00) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:197:69: note: used in buffer access here if (buffer[0] != 0x10 || buffer[1] != 0x27 || buffer[2] != 0x00 || buffer[3] != 0x00 || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:197:48: note: used in buffer access here if (buffer[0] != 0x10 || buffer[1] != 0x27 || buffer[2] != 0x00 || buffer[3] != 0x00 || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:197:27: note: used in buffer access here if (buffer[0] != 0x10 || buffer[1] != 0x27 || buffer[2] != 0x00 || buffer[3] != 0x00 || ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:198:6: note: used in buffer access here buffer[4] != 0x00 || buffer[5] != 0x00) { ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:399:21: warning: 'names' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const char* const names[] = { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:407:37: note: used in buffer access here map_.set_scenario_player_name(i, names[i - 1]); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:479:11: warning: 'pc' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] uint8_t* pc; ~~~~~~~~~^~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:715:45: note: used in pointer arithmetic here for (uint16_t x = 0; x < mapwidth; ++x, ++pc) { ^~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:522:49: note: used in pointer arithmetic here for (int16_t x = 0; x < mapwidth; ++x, ++f, ++pc) { ^~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:503:49: note: used in pointer arithmetic here for (int16_t x = 0; x < mapwidth; ++x, ++f, ++pc) { ^~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:541:49: note: used in pointer arithmetic here for (int16_t x = 0; x < mapwidth; ++x, ++f, ++pc) { ^~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:500:20: warning: 'f' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] Widelands::Field* f = map_.fields_.get(); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:522:44: note: used in pointer arithmetic here for (int16_t x = 0; x < mapwidth; ++x, ++f, ++pc) { ^ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:541:44: note: used in pointer arithmetic here for (int16_t x = 0; x < mapwidth; ++x, ++f, ++pc) { ^ /pobj/widelands-1.1/widelands-1.1/src/map_io/s2map.cc:503:44: note: used in pointer arithmetic here for (int16_t x = 0; x < mapwidth; ++x, ++f, ++pc) { ^ 70 warnings generated. [1996/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/coords_profile.cc.o -MF src/map_io/CMakeFiles/map_io.dir/coords_profile.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/coords_profile.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/coords_profile.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/coords_profile.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [1997/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_allowed_building_types_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_allowed_building_types_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_allowed_building_types_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_building_types_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_building_types_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_building_types_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_building_types_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_building_types_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_building_types_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_building_types_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_building_types_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_building_types_packet.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1998/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_allowed_worker_types_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_allowed_worker_types_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_allowed_worker_types_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_worker_types_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_worker_types_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_worker_types_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_worker_types_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_worker_types_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_worker_types_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_worker_types_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_worker_types_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_allowed_worker_types_packet.cc:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [1999/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_bob_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_bob_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_bob_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_bob_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_bob_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_bob_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/descriptions.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_bob_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_bob_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_bob_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_bob_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_bob_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_bob_packet.cc:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2000/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_building_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_building_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_building_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_building_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_building_packet.cc:21: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_building_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_building_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_building_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_building_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_building_packet.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_building_packet.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_building_packet.cc:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_building_packet.cc:131:2: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] iterate_Map_FCoords(map, extent, fc) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1338:70: note: expanded from macro 'iterate_Map_FCoords' for (fc.x = 0; fc.x < static_cast(extent.w); ++fc.x, ++fc.field) ~~~^~~~~ 78 warnings generated. [2001/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_buildingdata_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_buildingdata_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_buildingdata_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:25: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:39: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:39: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:39: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:125:13: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] static_cast(queue_iter - leave_queue.begin()), leaver_serial, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:527:26: warning: 'player_fields' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] Player::Field* const player_fields = player->fields_.get(); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:530:6: note: used in buffer access here player_fields[mr.location().field - &first_map_field].military_influence += ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:577:26: warning: 'player_fields' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] Player::Field* const player_fields = militarysite.owner().fields_.get(); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_buildingdata_packet.cc:580:6: note: used in buffer access here player_fields[mr.location().field - &first_map_field].military_influence += ^~~~~~~~~~~~~ 81 warnings generated. [2002/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_elemental_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_elemental_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_elemental_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_elemental_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_elemental_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_elemental_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_elemental_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_elemental_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_elemental_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2003/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_flag_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_flag_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_flag_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:21: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:56:4: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] iterate_Map_FCoords(map, extent, fc) if (fr.unsigned_8() != 0u) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1338:70: note: expanded from macro 'iterate_Map_FCoords' for (fc.x = 0; fc.x < static_cast(extent.w); ++fc.x, ++fc.field) ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:141:20: warning: 'field' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (Field const* field = &map[0]; field < &fields_end; ++field) { ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flag_packet.cc:141:60: note: used in pointer arithmetic here for (Field const* field = &map[0]; field < &fields_end; ++field) { ^~~~~ 80 warnings generated. [2004/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_flagdata_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_flagdata_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_flagdata_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:21: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:31: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:87:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] flag.wares_[i].pending = (fr.unsigned_8() != 0u); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:88:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] flag.wares_[i].priority = fr.signed_32(); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:91:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] flag.wares_[i].ware = &mol.get(ware_serial); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:95:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] flag.wares_[i].nextstep = &mol.get(nextstep_serial); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:100:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] flag.wares_[i].nextstep = nullptr; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:193:40: warning: unsafe buffer access [-Wunsafe-buffer-usage] fw.unsigned_8(static_cast(flag->wares_[i].pending)); ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:194:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] fw.signed_32(flag->wares_[i].priority); ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:196:47: warning: unsafe buffer access [-Wunsafe-buffer-usage] fw.unsigned_32(mos.get_object_file_index(*flag->wares_[i].ware)); ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:197:49: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (PlayerImmovable const* const nextstep = flag->wares_[i].nextstep.get(egbase)) { ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:174:14: warning: 'field' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (Field* field = &map[0]; field < &fields_end; ++field) { ~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_flagdata_packet.cc:174:54: note: used in pointer arithmetic here for (Field* field = &map[0]; field < &fields_end; ++field) { ^~~~~ 88 warnings generated. [2005/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_heights_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_heights_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_heights_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_heights_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_heights_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_heights_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_heights_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_heights_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_heights_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2006/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_images.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_images.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_images.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_images.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_images.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image_cache.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2007/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_node_ownership_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_node_ownership_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_node_ownership_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_node_ownership_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_node_ownership_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_node_ownership_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_node_ownership_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_node_ownership_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_node_ownership_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2008/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_object_loader.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_object_loader.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_object_loader.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_loader.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_loader.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_loader.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_loader.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_loader.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_loader.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_loader.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_loader.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_loader.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 63 warnings generated. [2009/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_object_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_object_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_object_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 65 warnings generated. [2010/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_object_saver.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_object_saver.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_object_saver.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_saver.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_saver.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_saver.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_saver.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_saver.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_saver.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_saver.cc:23: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_saver.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_object_saver.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ship_fleet.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shipping_schedule.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 66 warnings generated. [2011/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_objective_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_objective_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_objective_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_objective_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_objective_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_objective_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_objective_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_objective_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_objective_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2012/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_player_names_and_tribes_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_player_names_and_tribes_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_player_names_and_tribes_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_names_and_tribes_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_names_and_tribes_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_names_and_tribes_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_names_and_tribes_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_names_and_tribes_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_names_and_tribes_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_names_and_tribes_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_names_and_tribes_packet.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_names_and_tribes_packet.cc:26: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2013/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_player_position_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_player_position_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_player_position_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_position_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_position_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_position_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_position_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_position_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_player_position_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2014/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_players_messages_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_players_messages_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_players_messages_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_messages_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_messages_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_messages_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_messages_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_messages_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_messages_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_messages_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_messages_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_messages_packet.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_messages_packet.cc:159:36: warning: unsafe buffer access [-Wunsafe-buffer-usage] MapMessageSaver& message_saver = mos.message_savers[p - 1]; ^~~~~~~~~~~~~~~~~~ 78 warnings generated. [2015/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_players_view_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_players_view_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_players_view_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:27: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:36: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:183:23: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] seen_fields.size(), static_cast(no_of_seen_fields)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:58:56: note: expanded from macro 'wexception' #define wexception(...) WException(__FILE__, __LINE__, __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:221:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] field->time_triangle_last_surveyed[1] = Time(stoll(data_vector[1])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:385:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] f.time_triangle_last_surveyed[1] = Time(fr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_players_view_packet.cc:596:12: warning: unsafe buffer access [-Wunsafe-buffer-usage] << (*it)->time_triangle_last_surveyed[1].get(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 83 warnings generated. [2016/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_port_spaces_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_port_spaces_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_port_spaces_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_port_spaces_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_port_spaces_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_port_spaces_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_port_spaces_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_port_spaces_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_port_spaces_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2017/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_resources_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_resources_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_resources_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_resources_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_resources_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_resources_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_resources_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_resources_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_resources_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2018/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_road_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_road_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_road_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:21: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:79:9: warning: 'field' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] Field* field = &map[0]; ~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:81:31: note: used in pointer arithmetic here for (; field < fields_end; ++field) { ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_road_packet.cc:80:34: note: used in pointer arithmetic here Field const* const fields_end = field + map.max_index(); ^~~~~ 79 warnings generated. [2019/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_roaddata_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_roaddata_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_roaddata_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:21: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:32: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:108:52: warning: format specifies type 'unsigned int' but the argument has type 'Path::StepVector::size_type' (aka 'unsigned long') [-Wformat] throw GameDataError("step #%" PRIuS ": %s", nr_steps - i, e.what()); ~~~~~~~~ ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:89:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] road.flags_[1] = &mol.get(flag_1_serial); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:95:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] road.flagidx_[1] = fr.unsigned_32(); ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:98:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] road.cost_[1] = fr.unsigned_32(); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:198:47: warning: unsafe buffer access [-Wunsafe-buffer-usage] fw.unsigned_32(mos.get_object_file_index(*r->flags_[1])); ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:201:20: warning: unsafe buffer access [-Wunsafe-buffer-usage] fw.unsigned_32(r->flagidx_[1]); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:204:20: warning: unsafe buffer access [-Wunsafe-buffer-usage] fw.unsigned_32(r->cost_[1]); ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:178:20: warning: 'field' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (Field const* field = &map[0]; field < &fields_end; ++field) { ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_roaddata_packet.cc:178:60: note: used in pointer arithmetic here for (Field const* field = &map[0]; field < &fields_end; ++field) { ^~~~~ 87 warnings generated. [2020/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_saver.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_saver.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_saver.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_saver.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_saver.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_saver.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_saver.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_saver.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_saver.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_saver.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_saver.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_saver.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_saver.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2021/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_scripting_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_scripting_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_scripting_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_scripting_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_scripting_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_scripting_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_scripting_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_scripting_packet.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_scripting_packet.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2022/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_terrain_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_terrain_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_terrain_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_terrain_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_terrain_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_terrain_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_terrain_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_terrain_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_terrain_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2023/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_version_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_version_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_version_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_version_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_version_packet.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_version_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_version_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_version_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_version_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2024/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_waterway_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_waterway_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_waterway_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:21: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:79:9: warning: 'field' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] Field* field = &map[0]; ~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:80:34: note: used in pointer arithmetic here Field const* const fields_end = field + map.max_index(); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterway_packet.cc:81:31: note: used in pointer arithmetic here for (; field < fields_end; ++field) { ^~~~~ 79 warnings generated. [2025/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_waterwaydata_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_waterwaydata_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_waterwaydata_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:21: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ferry_fleet.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:23: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/waterway.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:32: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:106:52: warning: format specifies type 'unsigned int' but the argument has type 'Path::StepVector::size_type' (aka 'unsigned long') [-Wformat] throw GameDataError("step #%" PRIuS ": %s", nr_steps - i, e.what()); ~~~~~~~~ ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:87:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] ww.flags_[1] = &mol.get(flag_1_serial); ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:93:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ww.flagidx_[1] = fr.unsigned_32(); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:96:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ww.cost_[1] = fr.unsigned_32(); ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:173:47: warning: unsafe buffer access [-Wunsafe-buffer-usage] fw.unsigned_32(mos.get_object_file_index(*r->flags_[1])); ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:176:20: warning: unsafe buffer access [-Wunsafe-buffer-usage] fw.unsigned_32(r->flagidx_[1]); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:179:20: warning: unsafe buffer access [-Wunsafe-buffer-usage] fw.unsigned_32(r->cost_[1]); ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:158:20: warning: 'field' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] for (Field const* field = &map[0]; field < &fields_end; ++field) { ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/map_io/map_waterwaydata_packet.cc:158:60: note: used in pointer arithmetic here for (Field const* field = &map[0]; field < &fields_end; ++field) { ^~~~~ 87 warnings generated. [2026/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/map_io/CMakeFiles/map_io.dir/map_wincondition_packet.cc.o -MF src/map_io/CMakeFiles/map_io.dir/map_wincondition_packet.cc.o.d -o src/map_io/CMakeFiles/map_io.dir/map_wincondition_packet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/map_io/map_wincondition_packet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_wincondition_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_wincondition_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_wincondition_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_wincondition_packet.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_wincondition_packet.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_wincondition_packet.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_wincondition_packet.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 61 warnings generated. [2027/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/bufferedconnection.cc.o -MF src/network/CMakeFiles/network.dir/bufferedconnection.cc.o.d -o src/network/CMakeFiles/network.dir/bufferedconnection.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.cc:295:34: warning: unsafe buffer access [-Wunsafe-buffer-usage] receive_buffer_.push_back(asio_receive_buffer_[i]); ^~~~~~~~~~~~~~~~~~~~ 18 warnings generated. [2028/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/internet_gaming.cc.o -MF src/network/CMakeFiles/network.dir/internet_gaming.cc.o.d -o src/network/CMakeFiles/network.dir/internet_gaming.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/chat/chat.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.cc:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] lastbrokensocket_[1] = 0; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.cc:83:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] lastbrokensocket_[1] = 0; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.cc:299:13: warning: unsafe buffer access [-Wunsafe-buffer-usage] if ((now - lastbrokensocket_[1] < 10) && (now - lastbrokensocket_[0] < 10)) { ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.cc:304:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] lastbrokensocket_[1] = lastbrokensocket_[0]; ^~~~~~~~~~~~~~~~~ 21 warnings generated. [2029/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/internet_gaming_messages.cc.o -MF src/network/CMakeFiles/network.dir/internet_gaming_messages.cc.o.d -o src/network/CMakeFiles/network.dir/internet_gaming_messages.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming_messages.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming_messages.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming_messages.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2030/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/gameclient.cc.o -MF src/network/CMakeFiles/network.dir/gameclient.cc.o.d -o src/network/CMakeFiles/network.dir/gameclient.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:38: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:39: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:39: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:40: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:53: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/md5.h:87:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] ctx.total[0] = ctx.total[1] = 0; ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.h:74:3: note: in instantiation of member function 'MD5Checksum::reset' requested here reset(); ^ /pobj/widelands-1.1/widelands-1.1/src/network/gameclient.cc:824:23: note: in instantiation of member function 'MD5Checksum::MD5Checksum' requested here SimpleMD5Checksum md5sum; ^ 84 warnings generated. [2031/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/gamehost.cc.o -MF src/network/CMakeFiles/network.dir/gamehost.cc.o.d -o src/network/CMakeFiles/network.dir/gamehost.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethost_interface.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:33: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:48: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:62: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:1033:18: note: used in buffer access here player.color = kPlayerColors[oldplayers]; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:2441:12: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] part, file_->parts.size()); ~~~~~~^~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:50:57: note: expanded from macro 'log_warn' #define log_warn(...) do_log(LogType::kWarning, Time(), __VA_ARGS__) ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/md5.h:87:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] ctx.total[0] = ctx.total[1] = 0; ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.h:74:3: note: in instantiation of member function 'MD5Checksum::reset' requested here reset(); ^ /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.cc:1113:21: note: in instantiation of member function 'MD5Checksum::MD5Checksum' requested here SimpleMD5Checksum md5sum; ^ 87 warnings generated. [2032/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/host_game_settings_provider.cc.o -MF src/network/CMakeFiles/network.dir/host_game_settings_provider.cc.o.d -o src/network/CMakeFiles/network.dir/host_game_settings_provider.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/host_game_settings_provider.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/host_game_settings_provider.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/host_game_settings_provider.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/host_game_settings_provider.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/host_game_settings_provider.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/host_game_settings_provider.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/host_game_settings_provider.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/gamehost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethost_interface.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17 warnings generated. [2033/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/net_addons.cc.o -MF src/network/CMakeFiles/network.dir/net_addons.cc.o.d -o src/network/CMakeFiles/network.dir/net_addons.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/net_addons.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/net_addons.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/net_addons.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/net_addons.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/net_addons.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/net_addons.cc:51: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/net_addons.cc:45: /pobj/widelands-1.1/widelands-1.1/src/base/md5.h:87:18: warning: unsafe buffer access [-Wunsafe-buffer-usage] ctx.total[0] = ctx.total[1] = 0; ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/md5.h:74:3: note: in instantiation of member function 'MD5Checksum::reset' requested here reset(); ^ /pobj/widelands-1.1/widelands-1.1/src/network/net_addons.cc:117:20: note: in instantiation of member function 'MD5Checksum::MD5Checksum' requested here SimpleMD5Checksum md5sum; ^ 18 warnings generated. [2034/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/netclient.cc.o -MF src/network/CMakeFiles/network.dir/netclient.cc.o.d -o src/network/CMakeFiles/network.dir/netclient.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/netclient.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.h:24: /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:270:47: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] v.insert(v.end(), packet.get_data(), packet.get_data() + packet.get_size()); ~~~~~~~^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:216:3: note: in instantiation of function template specialization 'BufferedConnection::send_T_<>' requested here send_T_(v, Fargs...); ^ /pobj/widelands-1.1/widelands-1.1/src/network/netclient.cc:63:9: note: in instantiation of function template specialization 'BufferedConnection::send' requested here conn_->send(priority, packet); ^ 18 warnings generated. [2035/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/netclientproxy.cc.o -MF src/network/CMakeFiles/network.dir/netclientproxy.cc.o.d -o src/network/CMakeFiles/network.dir/netclientproxy.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/netclientproxy.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclientproxy.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclientproxy.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclientproxy.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclientproxy.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclientproxy.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclientproxy.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclientproxy.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclientproxy.h:24: /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:270:47: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] v.insert(v.end(), packet.get_data(), packet.get_data() + packet.get_size()); ~~~~~~~^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:246:3: note: in instantiation of function template specialization 'BufferedConnection::send_T_<>' requested here send_T_(v, Fargs...); ^ /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:216:3: note: in instantiation of function template specialization 'BufferedConnection::send_T_' requested here send_T_(v, Fargs...); ^ /pobj/widelands-1.1/widelands-1.1/src/network/netclientproxy.cc:64:9: note: in instantiation of function template specialization 'BufferedConnection::send' requested here conn_->send(priority, RelayCommand::kToHost, packet); ^ 18 warnings generated. [2036/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/nethost.cc.o -MF src/network/CMakeFiles/network.dir/nethost.cc.o.d -o src/network/CMakeFiles/network.dir/nethost.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/nethost.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethost.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethost.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethost.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethost.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethost.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethost.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethost.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethost.h:25: /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:270:47: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] v.insert(v.end(), packet.get_data(), packet.get_data() + packet.get_size()); ~~~~~~~^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:216:3: note: in instantiation of function template specialization 'BufferedConnection::send_T_<>' requested here send_T_(v, Fargs...); ^ /pobj/widelands-1.1/widelands-1.1/src/network/nethost.cc:145:19: note: in instantiation of function template specialization 'BufferedConnection::send' requested here clients_.at(id)->send(priority, packet); ^ 18 warnings generated. [2037/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/nethostproxy.cc.o -MF src/network/CMakeFiles/network.dir/nethostproxy.cc.o.d -o src/network/CMakeFiles/network.dir/nethostproxy.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/nethostproxy.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethostproxy.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethostproxy.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethostproxy.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethostproxy.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethostproxy.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethostproxy.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethostproxy.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/nethostproxy.h:24: /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:270:47: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] v.insert(v.end(), packet.get_data(), packet.get_data() + packet.get_size()); ~~~~~~~^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:265:3: note: in instantiation of function template specialization 'BufferedConnection::send_T_<>' requested here send_T_(v, Fargs...); ^ /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:246:3: note: in instantiation of function template specialization 'BufferedConnection::send_T_' requested here send_T_(v, Fargs...); ^ /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:216:3: note: in instantiation of function template specialization 'BufferedConnection::send_T_, SendPacket>' requested here send_T_(v, Fargs...); ^ /pobj/widelands-1.1/widelands-1.1/src/network/nethostproxy.cc:137:9: note: in instantiation of function template specialization 'BufferedConnection::send, SendPacket>' requested here conn_->send(priority, RelayCommand::kToClients, active_ids, packet); ^ 18 warnings generated. [2038/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/network.cc.o -MF src/network/CMakeFiles/network.dir/network.cc.o.d -o src/network/CMakeFiles/network.dir/network.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/network.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/network.cc:185:20: warning: unsafe buffer access [-Wunsafe-buffer-usage] buffer.push_back(static_cast(packet_data)[idx]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/network.cc:218:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] static_cast(packet_data)[read] = buffer[index_++]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 warnings generated. [2039/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/network_gaming_messages.cc.o -MF src/network/CMakeFiles/network.dir/network_gaming_messages.cc.o.d -o src/network/CMakeFiles/network.dir/network_gaming_messages.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/network_gaming_messages.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_gaming_messages.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_gaming_messages.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2040/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/network_lan_promotion.cc.o -MF src/network/CMakeFiles/network.dir/network_lan_promotion.cc.o.d -o src/network/CMakeFiles/network.dir/network_lan_promotion.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.cc:390:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] gameinfo.gameversion[sizeof(gameinfo.gameversion) - 1] = '\0'; ^~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.cc:393:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] gameinfo.hostname[sizeof(gameinfo.hostname) - 1] = '\0'; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.cc:413:8: warning: 'magic' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char magic[8]; ~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.cc:422:44: note: used in buffer access here if ((strncmp(magic, "QUERY", 6) == 0) && magic[6] == LAN_PROMOTION_PROTOCOL_VERSION) { ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.cc:432:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] gameinfo.map[sizeof(gameinfo.map) - 1] = '\0'; ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.cc:445:7: warning: 'magic' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char magic[8]; ~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.cc:450:2: note: used in buffer access here magic[6] = LAN_PROMOTION_PROTOCOL_VERSION; ^~~~~ 22 warnings generated. [2041/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/network_player_settings_backend.cc.o -MF src/network/CMakeFiles/network.dir/network_player_settings_backend.cc.o.d -o src/network/CMakeFiles/network.dir/network_player_settings_backend.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/network_player_settings_backend.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_player_settings_backend.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_player_settings_backend.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_player_settings_backend.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_player_settings_backend.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2042/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/network/CMakeFiles/network.dir/participantlist.cc.o -MF src/network/CMakeFiles/network.dir/participantlist.cc.o.d -o src/network/CMakeFiles/network.dir/participantlist.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/signal.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/computer_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc:24: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc:25: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/network/participantlist.cc:191:9: note: used in buffer access here return kPlayerColors[participant_to_playerindex(participant)]; ^~~~~~~~~~~~~ 80 warnings generated. [2043/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/notifications/CMakeFiles/notifications.dir/notifications.cc.o -MF src/notifications/CMakeFiles/notifications.dir/notifications.cc.o.d -o src/notifications/CMakeFiles/notifications.dir/notifications.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2044/2312] : && /usr/local/bin/cmake -E rm -f src/notifications/libnotifications.a && /usr/bin/ar qc src/notifications/libnotifications.a src/notifications/CMakeFiles/notifications.dir/notifications.cc.o && /usr/bin/ranlib src/notifications/libnotifications.a && : [2045/2312] : && /usr/local/bin/cmake -E rm -f src/io/filesystem/libio_filesystem.a && /usr/bin/ar qc src/io/filesystem/libio_filesystem.a src/io/filesystem/CMakeFiles/io_filesystem.dir/disk_filesystem.cc.o src/io/filesystem/CMakeFiles/io_filesystem.dir/filesystem.cc.o src/io/filesystem/CMakeFiles/io_filesystem.dir/layered_filesystem.cc.o src/io/filesystem/CMakeFiles/io_filesystem.dir/zip_filesystem.cc.o && /usr/bin/ranlib src/io/filesystem/libio_filesystem.a && : [2046/2312] : && /usr/local/bin/cmake -E rm -f src/io/libio_fileread.a && /usr/bin/ar qc src/io/libio_fileread.a src/io/CMakeFiles/io_fileread.dir/fileread.cc.o src/io/CMakeFiles/io_fileread.dir/filewrite.cc.o && /usr/bin/ranlib src/io/libio_fileread.a && : [2047/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase_times.a && /usr/bin/ar qc src/base/libbase_times.a src/base/CMakeFiles/base_times.dir/times.cc.o && /usr/bin/ranlib src/base/libbase_times.a && : [2048/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase.a && /usr/bin/ar qc src/base/libbase.a src/base/CMakeFiles/base.dir/format/tree.cc.o src/base/CMakeFiles/base.dir/i18n.cc.o src/base/CMakeFiles/base.dir/multithreading.cc.o src/base/CMakeFiles/base.dir/log.cc.o src/base/CMakeFiles/base.dir/string.cc.o && /usr/bin/ranlib src/base/libbase.a && : [2049/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase_scoped_timer.a && /usr/bin/ar qc src/base/libbase_scoped_timer.a src/base/CMakeFiles/base_scoped_timer.dir/scoped_timer.cc.o && /usr/bin/ranlib src/base/libbase_scoped_timer.a && : [2050/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase_time_string.a && /usr/bin/ar qc src/base/libbase_time_string.a src/base/CMakeFiles/base_time_string.dir/time_string.cc.o && /usr/bin/ranlib src/base/libbase_time_string.a && : [2051/2312] : && /usr/local/bin/cmake -E rm -f src/base/libbase_test.a && /usr/bin/ar qc src/base/libbase_test.a src/base/CMakeFiles/base_test.dir/test.cc.o && /usr/bin/ranlib src/base/libbase_test.a && : [2052/2312] : && /pobj/widelands-1.1/bin/c++ -O2 -pipe -DNDEBUG src/base/test/CMakeFiles/test_base.dir/base_test_main.cc.o src/base/test/CMakeFiles/test_base.dir/test_geometry.cc.o src/base/test/CMakeFiles/test_base.dir/test_math.cc.o src/base/test/CMakeFiles/test_base.dir/test_md5.cc.o src/base/test/CMakeFiles/test_base.dir/test_times.cc.o src/base/test/CMakeFiles/test_base.dir/test_time_string.cc.o src/base/test/CMakeFiles/test_base.dir/test_utf8.cc.o src/base/test/CMakeFiles/test_base.dir/test_string.cc.o -o src/base/test/test_base -Wl,-z,origin,-rpath,/usr/X11R6/lib:/usr/local/lib /usr/X11R6/lib/libGL.so.19.1 /usr/local/lib/libSDL2.so.0.15 src/base/libbase.a src/base/libbase_geometry.a src/base/libbase_math.a src/base/libbase_md5.a src/base/libbase_test.a src/base/libbase_times.a src/base/libbase_time_string.a src/base/libbase_utf8.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a /usr/local/lib/libintl.so.8.0 src/libbuild_info.a src/logic/liblogic_filesystem_constants.a src/third_party/libthird_party_gettext.a src/third_party/libthird_party_minizip.a /usr/lib/libz.so.7.0 src/io/libio_stream.a /usr/local/lib/libSDL2main.a /usr/local/lib/libSDL2.so.0.15 -lpthread src/base/libbase_exceptions.a src/base/libbase_macros.a /usr/X11R6/lib/libGL.so.19.1 -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : /usr/X11R6/lib/libGL.so.19.1: warning: rand() may return deterministic values, is that what you want? /usr/local/lib/libintl.so.8.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/libintl.so.8.0: warning: sprintf() is often misused, please use snprintf() /usr/X11R6/lib/libGL.so.19.1: warning: random() may return deterministic values, is that what you want? /usr/X11R6/lib/libX11.so.18.0: warning: strcat() is almost always misused, please use strlcat() /usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. [2053/2312] : && /usr/local/bin/cmake -E rm -f src/chat/libchat.a && /usr/bin/ar qc src/chat/libchat.a src/chat/CMakeFiles/chat.dir/chat.cc.o && /usr/bin/ranlib src/chat/libchat.a && : [2054/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_color.a && /usr/bin/ar qc src/graphic/libgraphic_color.a src/graphic/CMakeFiles/graphic_color.dir/color.cc.o && /usr/bin/ranlib src/graphic/libgraphic_color.a && : [2055/2312] : && /usr/local/bin/cmake -E rm -f src/io/libio_profile.a && /usr/bin/ar qc src/io/libio_profile.a src/io/CMakeFiles/io_profile.dir/profile.cc.o && /usr/bin/ranlib src/io/libio_profile.a && : [2056/2312] : && /pobj/widelands-1.1/bin/c++ -O2 -pipe -DNDEBUG src/io/filesystem/test/CMakeFiles/test_io_filesystem.dir/filesystem_test_main.cc.o src/io/filesystem/test/CMakeFiles/test_io_filesystem.dir/test_filesystem.cc.o -o src/io/filesystem/test/test_io_filesystem -Wl,-z,origin,-rpath,/usr/X11R6/lib:/usr/local/lib /usr/X11R6/lib/libGL.so.19.1 /usr/local/lib/libSDL2.so.0.15 src/base/libbase_test.a src/io/filesystem/libio_filesystem.a src/base/libbase.a src/base/libbase_times.a src/notifications/libnotifications.a src/io/libio_fileread.a src/io/filesystem/libio_filesystem.a src/base/libbase.a src/base/libbase_times.a src/notifications/libnotifications.a src/io/libio_fileread.a src/io/filesystem/libio_filesystem.a src/base/libbase.a src/base/libbase_times.a src/notifications/libnotifications.a src/io/libio_fileread.a src/io/filesystem/libio_filesystem.a src/base/libbase.a src/base/libbase_times.a src/notifications/libnotifications.a src/io/libio_fileread.a src/io/filesystem/libio_filesystem.a src/base/libbase.a src/base/libbase_times.a src/notifications/libnotifications.a src/io/libio_fileread.a src/third_party/libthird_party_minizip.a /usr/lib/libz.so.7.0 /usr/local/lib/libintl.so.8.0 src/libbuild_info.a src/logic/liblogic_filesystem_constants.a src/third_party/libthird_party_gettext.a src/io/libio_stream.a /usr/local/lib/libSDL2main.a /usr/local/lib/libSDL2.so.0.15 -lpthread src/base/libbase_exceptions.a src/base/libbase_macros.a /usr/X11R6/lib/libGL.so.19.1 -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : /usr/X11R6/lib/libGL.so.19.1: warning: rand() may return deterministic values, is that what you want? /usr/local/lib/libintl.so.8.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/libintl.so.8.0: warning: sprintf() is often misused, please use snprintf() /usr/X11R6/lib/libGL.so.19.1: warning: random() may return deterministic values, is that what you want? /usr/X11R6/lib/libX11.so.18.0: warning: strcat() is almost always misused, please use strlcat() /usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. [2057/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_exceptions.a && /usr/bin/ar qc src/logic/liblogic_exceptions.a src/logic/CMakeFiles/logic_exceptions.dir/game_data_error.cc.o && /usr/bin/ranlib src/logic/liblogic_exceptions.a && : [2058/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_widelands_geometry_io.a && /usr/bin/ar qc src/logic/liblogic_widelands_geometry_io.a src/logic/CMakeFiles/logic_widelands_geometry_io.dir/widelands_geometry_io.cc.o && /usr/bin/ranlib src/logic/liblogic_widelands_geometry_io.a && : [2059/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_objectives.a && /usr/bin/ar qc src/logic/liblogic_objectives.a src/logic/CMakeFiles/logic_objectives.dir/objective.cc.o && /usr/bin/ranlib src/logic/liblogic_objectives.a && : [2060/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_generic_save_handler.a && /usr/bin/ar qc src/logic/liblogic_generic_save_handler.a src/logic/CMakeFiles/logic_generic_save_handler.dir/generic_save_handler.cc.o && /usr/bin/ranlib src/logic/liblogic_generic_save_handler.a && : [2061/2312] : && /usr/local/bin/cmake -E rm -f src/logic/map_objects/liblogic_map_object_type.a && /usr/bin/ar qc src/logic/map_objects/liblogic_map_object_type.a src/logic/map_objects/CMakeFiles/logic_map_object_type.dir/map_object_type.cc.o && /usr/bin/ranlib src/logic/map_objects/liblogic_map_object_type.a && : [2062/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/notifications/test/CMakeFiles/notifications_test.dir/notifications_test.cc.o -MF src/notifications/test/CMakeFiles/notifications_test.dir/notifications_test.cc.o.d -o src/notifications/test/CMakeFiles/notifications_test.dir/notifications_test.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/notifications/test/notifications_test.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/test/notifications_test.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/test/notifications_test.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2063/2312] : && /pobj/widelands-1.1/bin/c++ -O2 -pipe -DNDEBUG src/notifications/test/CMakeFiles/notifications_test.dir/notifications_test.cc.o -o src/notifications/test/notifications_test -Wl,-z,origin,-rpath,/usr/X11R6/lib:/usr/local/lib /usr/X11R6/lib/libGL.so.19.1 /usr/local/lib/libSDL2.so.0.15 src/base/libbase_test.a src/notifications/libnotifications.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/io/libio_fileread.a src/notifications/libnotifications.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/io/libio_fileread.a src/notifications/libnotifications.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/io/libio_fileread.a src/notifications/libnotifications.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/io/libio_fileread.a src/notifications/libnotifications.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/io/libio_fileread.a /usr/local/lib/libintl.so.8.0 src/libbuild_info.a src/logic/liblogic_filesystem_constants.a src/third_party/libthird_party_gettext.a src/third_party/libthird_party_minizip.a /usr/lib/libz.so.7.0 src/io/libio_stream.a /usr/local/lib/libSDL2main.a /usr/local/lib/libSDL2.so.0.15 -lpthread src/base/libbase_exceptions.a src/base/libbase_macros.a /usr/X11R6/lib/libGL.so.19.1 -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : /usr/X11R6/lib/libGL.so.19.1: warning: rand() may return deterministic values, is that what you want? /usr/local/lib/libintl.so.8.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/libintl.so.8.0: warning: sprintf() is often misused, please use snprintf() /usr/X11R6/lib/libGL.so.19.1: warning: random() may return deterministic values, is that what you want? /usr/X11R6/lib/libX11.so.18.0: warning: strcat() is almost always misused, please use strlcat() /usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. [2064/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_base.dir/lua.cc.o -MF src/scripting/CMakeFiles/scripting_base.dir/lua.cc.o.d -o src/scripting/CMakeFiles/scripting_base.dir/lua.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua.cc [2065/2312] : && /usr/local/bin/cmake -E rm -f src/scripting/libscripting_base.a && /usr/bin/ar qc src/scripting/libscripting_base.a src/scripting/CMakeFiles/scripting_base.dir/lua.cc.o && /usr/bin/ranlib src/scripting/libscripting_base.a && : [2066/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_errors.dir/lua_errors.cc.o -MF src/scripting/CMakeFiles/scripting_errors.dir/lua_errors.cc.o.d -o src/scripting/CMakeFiles/scripting_errors.dir/lua_errors.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_errors.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_errors.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_errors.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2067/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_errors.dir/report_error.cc.o -MF src/scripting/CMakeFiles/scripting_errors.dir/report_error.cc.o.d -o src/scripting/CMakeFiles/scripting_errors.dir/report_error.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/report_error.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/report_error.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2068/2312] : && /usr/local/bin/cmake -E rm -f src/scripting/libscripting_errors.a && /usr/bin/ar qc src/scripting/libscripting_errors.a src/scripting/CMakeFiles/scripting_errors.dir/lua_errors.cc.o src/scripting/CMakeFiles/scripting_errors.dir/report_error.cc.o && /usr/bin/ranlib src/scripting/libscripting_errors.a && : [2069/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_luna.dir/luna_impl.cc.o -MF src/scripting/CMakeFiles/scripting_luna.dir/luna_impl.cc.o.d -o src/scripting/CMakeFiles/scripting_luna.dir/luna_impl.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:66: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2070/2312] : && /usr/local/bin/cmake -E rm -f src/scripting/libscripting_luna.a && /usr/bin/ar qc src/scripting/libscripting_luna.a src/scripting/CMakeFiles/scripting_luna.dir/luna_impl.cc.o && /usr/bin/ranlib src/scripting/libscripting_luna.a && : [2071/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_lua_table.dir/lua_table.cc.o -MF src/scripting/CMakeFiles/scripting_lua_table.dir/lua_table.cc.o.d -o src/scripting/CMakeFiles/scripting_lua_table.dir/lua_table.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/multithreading.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2072/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_coroutine.dir/lua_coroutine.cc.o -MF src/scripting/CMakeFiles/scripting_coroutine.dir/lua_coroutine.cc.o.d -o src/scripting/CMakeFiles/scripting_coroutine.dir/lua_coroutine.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/multithreading.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_coroutine.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:32: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 81 warnings generated. [2073/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_globals.cc.o -MF src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_globals.cc.o.d -o src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_globals.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_globals.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_globals.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_globals.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_globals.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17 warnings generated. [2074/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_interface.cc.o -MF src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_interface.cc.o.d -o src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_interface.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_errors.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2075/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_path.cc.o -MF src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_path.cc.o.d -o src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_path.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_path.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_path.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_path.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:66: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_path.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2076/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_lua_interface.dir/run_script.cc.o -MF src/scripting/CMakeFiles/scripting_lua_interface.dir/run_script.cc.o.d -o src/scripting/CMakeFiles/scripting_lua_interface.dir/run_script.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/run_script.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/run_script.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/run_script.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/multithreading.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/run_script.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/run_script.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2077/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_logic.dir/factory.cc.o -MF src/scripting/CMakeFiles/scripting_logic.dir/factory.cc.o.d -o src/scripting/CMakeFiles/scripting_logic.dir/factory.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/factory.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/factory.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/factory.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/factory.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/factory.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/factory.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/factory.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/factory.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/factory.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2078/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_logic.dir/globals.cc.o -MF src/scripting/CMakeFiles/scripting_logic.dir/globals.cc.o.d -o src/scripting/CMakeFiles/scripting_logic.dir/globals.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/globals.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/globals.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/globals.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/globals.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/globals.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/globals.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/globals.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/globals.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/globals.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/globals.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/globals.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2079/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_logic.dir/logic.cc.o -MF src/scripting/CMakeFiles/scripting_logic.dir/logic.cc.o.d -o src/scripting/CMakeFiles/scripting_logic.dir/logic.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/logic.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:32: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 81 warnings generated. [2080/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_logic.dir/lua_bases.cc.o -MF src/scripting/CMakeFiles/scripting_logic.dir/lua_bases.cc.o.d -o src/scripting/CMakeFiles/scripting_logic.dir/lua_bases.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:32: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:100:58: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaEditorGameBase::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:1082:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "bases"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:85:56: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaEditorGameBase::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:1082:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "bases"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:631:50: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerBase::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:1083:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "bases"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:624:48: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerBase::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.cc:1083:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "bases"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ 85 warnings generated. [2081/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_logic.dir/lua_editor.cc.o -MF src/scripting/CMakeFiles/scripting_logic.dir/lua_editor.cc.o.d -o src/scripting/CMakeFiles/scripting_logic.dir/lua_editor.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:70:42: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayer::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:89:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "editor", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:67:40: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayer::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:89:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "editor", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:88:2: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] LUNA_CLASS_HEAD(LuaPlayerBase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:34:35: note: expanded from macro 'LUNA_CLASS_HEAD' static const PropertyType Properties[] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:90:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.h:23: /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:88:2: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] LUNA_CLASS_HEAD(LuaPlayerBase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:33:33: note: expanded from macro 'LUNA_CLASS_HEAD' static const MethodType Methods[]; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_editor.cc:90:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ 83 warnings generated. [2082/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_logic.dir/lua_game.cc.o -MF src/scripting/CMakeFiles/scripting_logic.dir/lua_game.cc.o.d -o src/scripting/CMakeFiles/scripting_logic.dir/lua_game.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/message_id.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:33: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:32: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:268:20: note: used in buffer access here lua_pushstring(L, kPlayerColors[pnumber - 1].hex_value()); ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1424:25: warning: unsafe buffer access [-Wunsafe-buffer-usage] PERS_UINT32("msg_idx", get_mos(L)->message_savers[player_number_ - 1][message_id_].value()); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:53:50: note: expanded from macro 'PERS_UINT32' #define PERS_UINT32(name, value) PERS_TYPE(name, value, uint32) ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:50:20: note: expanded from macro 'PERS_TYPE' lua_push##type(L, value); \ ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua.h:31:72: note: expanded from macro 'lua_pushuint32' #define lua_pushuint32(L, n) (lua_pushinteger(L, static_cast(n))) ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:114:42: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayer::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1630:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "game", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:85:40: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayer::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1630:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "game", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:88:2: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] LUNA_CLASS_HEAD(LuaPlayerBase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:34:35: note: expanded from macro 'LUNA_CLASS_HEAD' static const PropertyType Properties[] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1631:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.h:24: /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:88:2: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] LUNA_CLASS_HEAD(LuaPlayerBase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:33:33: note: expanded from macro 'LUNA_CLASS_HEAD' static const MethodType Methods[]; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1631:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1246:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaObjective::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1634:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "game"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1241:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaObjective::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1634:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "game"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1410:54: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaInboxMessage::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1635:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "game"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1406:52: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaInboxMessage::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_game.cc:1635:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "game"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ 93 warnings generated. [2083/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_logic.dir/lua_map.cc.o -MF src/scripting/CMakeFiles/scripting_logic.dir/lua_map.cc.o.d -o src/scripting/CMakeFiles/scripting_logic.dir/lua_map.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:32: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:1412:36: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMap::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8397:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:1399:34: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMap::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8397:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:1797:62: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaTribeDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8398:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:1791:60: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaTribeDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8398:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8399:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8399:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2393:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaImmovableDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8401:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2388:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaImmovableDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8401:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8402:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8402:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2578:68: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuildingDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8405:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2575:66: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuildingDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8405:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8406:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8406:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2804:84: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaConstructionSiteDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8409:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2801:82: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaConstructionSiteDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8409:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2578:68: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuildingDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8410:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2575:66: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuildingDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8410:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8411:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8411:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2820:78: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaDismantleSiteDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8414:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2817:76: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaDismantleSiteDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8414:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2578:68: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuildingDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8415:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2575:66: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuildingDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8415:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8416:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8416:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2841:80: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaProductionSiteDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8419:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2835:78: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaProductionSiteDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8419:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2578:68: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuildingDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8420:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2575:66: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuildingDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8420:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8421:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8421:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3299:76: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMilitarySiteDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8424:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3296:74: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMilitarySiteDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8424:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2578:68: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuildingDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8425:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2575:66: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuildingDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8425:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8426:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8426:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3346:76: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaTrainingSiteDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8429:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3343:74: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaTrainingSiteDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8429:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2841:80: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaProductionSiteDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8430:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2835:78: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaProductionSiteDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8430:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2578:68: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuildingDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8431:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2575:66: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuildingDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8431:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8432:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8432:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3620:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaWarehouseDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8435:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3617:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaWarehouseDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8435:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2578:68: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuildingDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8436:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2575:66: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuildingDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8436:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8437:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8437:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3658:64: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMarketDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8440:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3655:62: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMarketDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8440:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2578:68: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuildingDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8441:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2575:66: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuildingDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8441:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8442:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8442:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3681:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaShipDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8445:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3678:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaShipDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8445:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8446:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8446:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3719:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaWareDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8449:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3713:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaWareDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8449:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8450:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8450:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3836:64: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaWorkerDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8453:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3833:62: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaWorkerDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8453:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8454:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8454:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3948:66: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaSoldierDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8457:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3945:64: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaSoldierDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8457:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3836:64: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaWorkerDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8458:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:3833:62: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaWorkerDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8458:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2182:70: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObjectDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8459:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:2178:68: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObjectDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8459:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4113:68: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaResourceDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8462:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4109:66: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaResourceDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8462:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4232:66: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaTerrainDescription::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8463:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4229:64: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaTerrainDescription::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8463:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:7657:40: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaField::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8465:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:7649:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaField::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8465:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8317:50: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerSlot::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8466:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8314:48: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerSlot::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8466:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4412:44: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaEconomy::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8467:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4407:42: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaEconomy::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8467:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8468:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8468:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6879:36: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBob::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8470:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6875:34: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBob::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8470:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8471:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8471:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:7470:42: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaWorker::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8474:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:7467:40: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaWorker::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8474:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6879:36: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBob::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8475:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6875:34: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBob::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8475:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8476:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8476:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:7538:44: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaSoldier::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8479:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:7535:42: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaSoldier::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8479:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:7470:42: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaWorker::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8480:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:7467:40: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaWorker::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8480:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6879:36: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBob::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8481:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6875:34: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBob::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8481:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8482:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8482:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6963:38: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaShip::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8485:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6956:36: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaShip::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8485:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6879:36: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBob::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8486:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6875:34: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBob::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8486:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8487:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8487:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8490:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8490:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8491:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8491:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8494:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8494:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8495:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8495:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8496:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8496:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5387:46: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuilding::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8499:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5382:44: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuilding::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8499:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8500:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8500:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8501:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8501:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8502:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8502:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5348:46: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPortDock::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8505:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5345:44: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPortDock::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8505:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8506:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8506:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8507:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8507:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8508:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8508:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4912:38: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaFlag::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8511:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4908:36: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaFlag::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8511:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8512:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8512:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8513:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8513:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8514:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8514:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5196:38: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaRoad::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8517:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5191:36: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaRoad::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8517:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8518:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8518:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8519:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8519:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8520:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8520:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5494:62: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaConstructionSite::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8523:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5485:60: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaConstructionSite::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8523:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5387:46: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuilding::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8524:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5382:44: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuilding::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8524:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8525:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8525:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8526:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8526:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8527:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8527:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5837:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaDismantleSite::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8530:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5834:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaDismantleSite::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8530:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5387:46: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuilding::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8531:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5382:44: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuilding::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8531:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8532:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8532:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8533:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8533:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8534:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8534:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5929:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaWarehouse::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8537:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5916:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaWarehouse::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8537:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5387:46: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuilding::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8538:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5382:44: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuilding::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8538:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8539:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8539:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8540:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8540:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8541:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8541:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6639:42: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMarket::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8544:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6630:40: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMarket::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8544:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5387:46: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuilding::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8545:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5382:44: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuilding::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8545:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8546:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8546:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8547:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8547:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8548:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8548:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6386:58: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaProductionSite::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8551:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6373:56: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaProductionSite::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8551:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5387:46: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuilding::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8552:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5382:44: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuilding::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8552:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8553:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8553:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8554:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8554:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8555:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8555:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6711:54: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMilitarySite::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8558:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6706:52: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMilitarySite::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8558:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5387:46: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuilding::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8559:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5382:44: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuilding::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8559:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8560:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8560:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8561:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8561:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8562:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8562:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6807:54: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaTrainingSite::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8565:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6802:52: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaTrainingSite::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8565:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "map", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6386:58: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaProductionSite::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8566:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:6373:56: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaProductionSite::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8566:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5387:46: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBuilding::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8567:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:5382:44: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBuilding::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8567:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4850:60: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPlayerImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8568:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4847:58: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPlayerImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8568:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4789:56: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaBaseImmovable::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8569:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4786:54: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaBaseImmovable::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8569:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4540:48: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapObject::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8570:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:4535:46: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapObject::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.cc:8570:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ 307 warnings generated. [2084/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_logic.dir/lua_root.cc.o -MF src/scripting/CMakeFiles/scripting_logic.dir/lua_root.cc.o.d -o src/scripting/CMakeFiles/scripting_logic.dir/lua_root.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:38: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:32: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:346:42: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaEditor::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1349:3: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:343:40: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaEditor::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1349:3: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:41:2: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] LUNA_CLASS_HEAD(LuaEditorGameBase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:34:35: note: expanded from macro 'LUNA_CLASS_HEAD' static const PropertyType Properties[] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1350:3: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:41:2: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] LUNA_CLASS_HEAD(LuaEditorGameBase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:33:33: note: expanded from macro 'LUNA_CLASS_HEAD' static const MethodType Methods[]; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1350:3: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:87:38: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaGame::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1353:3: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:82:36: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaGame::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1353:3: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:41:2: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] LUNA_CLASS_HEAD(LuaEditorGameBase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:34:35: note: expanded from macro 'LUNA_CLASS_HEAD' static const PropertyType Properties[] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1354:3: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.h:23: /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_bases.h:41:2: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] LUNA_CLASS_HEAD(LuaEditorGameBase); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:33:33: note: expanded from macro 'LUNA_CLASS_HEAD' static const MethodType Methods[]; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1354:3: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1368:40: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaWorld::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1358:3: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "", false); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1365:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaWorld::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1358:3: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "", false); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1375:42: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaTribes::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1359:3: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "", false); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1372:40: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaTribes::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1359:3: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "", false); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:411:54: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaDescriptions::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1361:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "", false); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:389:52: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaDescriptions::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_root.cc:1361:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "", false); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ 95 warnings generated. [2085/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_logic.dir/lua_ui.cc.o -MF src/scripting/CMakeFiles/scripting_logic.dir/lua_ui.cc.o.d -o src/scripting/CMakeFiles/scripting_logic.dir/lua_ui.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:66: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_map.h:32: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:78:40: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPanel::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1071:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:83:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPanel::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1071:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:347:42: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaButton::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1073:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:342:40: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaButton::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1073:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:78:40: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPanel::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1074:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:83:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPanel::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1074:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:413:46: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaDropdown::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1077:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:404:44: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaDropdown::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1077:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:78:40: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPanel::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1078:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:83:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPanel::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1078:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:589:36: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaTab::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1081:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:585:34: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaTab::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1081:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:78:40: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPanel::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1082:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:83:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPanel::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1082:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:646:42: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaWindow::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1085:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:642:40: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaWindow::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1085:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:78:40: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPanel::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1086:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:83:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPanel::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1086:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:704:44: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaMapView::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1089:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:692:42: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMapView::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1089:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "ui", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:78:40: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const PropertyType LuaPanel::Properties[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1090:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:83:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaPanel::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_ui.cc:1090:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ 103 warnings generated. [2086/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/CMakeFiles/scripting_logic.dir/persistence.cc.o -MF src/scripting/CMakeFiles/scripting_logic.dir/persistence.cc.o.d -o src/scripting/CMakeFiles/scripting_logic.dir/persistence.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/persistence.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/persistence.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/persistence.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/persistence.cc:154:20: warning: 'kPersistentGlobals' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const char* kPersistentGlobals[] = {"_VERSION", ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/persistence.cc:234:32: note: used in buffer access here add_object_to_not_persist(L, kPersistentGlobals[j], i++); ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/persistence.cc:233:18: note: used in buffer access here for (int j = 0; kPersistentGlobals[j] != nullptr; ++j) { ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/persistence.cc:154:20: warning: 'kPersistentGlobals' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const char* kPersistentGlobals[] = {"_VERSION", ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/persistence.cc:275:18: note: used in buffer access here for (int j = 0; kPersistentGlobals[j] != nullptr; ++j) { ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/persistence.cc:276:34: note: used in buffer access here add_object_to_not_unpersist(L, kPersistentGlobals[j], i++); ^~~~~~~~~~~~~~~~~~ 17 warnings generated. [2087/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/test/CMakeFiles/test_scripting.dir/scripting_test_main.cc.o -MF src/scripting/test/CMakeFiles/test_scripting.dir/scripting_test_main.cc.o.d -o src/scripting/test/CMakeFiles/test_scripting.dir/scripting_test_main.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/test/scripting_test_main.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/test/scripting_test_main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/test/scripting_test_main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2088/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/scripting/test/CMakeFiles/test_scripting.dir/test_luna.cc.o -MF src/scripting/test/CMakeFiles/test_scripting.dir/test_luna.cc.o.d -o src/scripting/test/CMakeFiles/test_scripting.dir/test_luna.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:23: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/test.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:90:1: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] BEGIN_LUNA_PROPERTIES(LuaClass) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:30:71: note: expanded from macro 'BEGIN_LUNA_PROPERTIES' #define BEGIN_LUNA_PROPERTIES(klass) const PropertyType klass::Properties[] = { ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:241:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "test"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:86:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaClass::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:241:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "test"); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:118:1: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] BEGIN_LUNA_PROPERTIES(LuaSubClass) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:30:71: note: expanded from macro 'BEGIN_LUNA_PROPERTIES' #define BEGIN_LUNA_PROPERTIES(klass) const PropertyType klass::Properties[] = { ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:272:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "test", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:114:44: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaSubClass::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:272:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "test", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:90:1: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] BEGIN_LUNA_PROPERTIES(LuaClass) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:30:71: note: expanded from macro 'BEGIN_LUNA_PROPERTIES' #define BEGIN_LUNA_PROPERTIES(klass) const PropertyType klass::Properties[] = { ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:273:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:86:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaClass::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:273:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:149:1: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] BEGIN_LUNA_PROPERTIES(LuaVirtualClass) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:30:71: note: expanded from macro 'BEGIN_LUNA_PROPERTIES' #define BEGIN_LUNA_PROPERTIES(klass) const PropertyType klass::Properties[] = { ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:289:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "test", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:145:52: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaVirtualClass::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:289:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "test", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:90:1: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] BEGIN_LUNA_PROPERTIES(LuaClass) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:30:71: note: expanded from macro 'BEGIN_LUNA_PROPERTIES' #define BEGIN_LUNA_PROPERTIES(klass) const PropertyType klass::Properties[] = { ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:290:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:86:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaClass::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:290:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:194:1: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] BEGIN_LUNA_PROPERTIES(LuaMultiClass) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:30:71: note: expanded from macro 'BEGIN_LUNA_PROPERTIES' #define BEGIN_LUNA_PROPERTIES(klass) const PropertyType klass::Properties[] = { ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:115:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:324:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "test", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:189:48: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaMultiClass::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:116:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:324:2: note: in instantiation of function template specialization 'register_class' requested here register_class(L, "test", true); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:90:1: warning: 'Properties' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] BEGIN_LUNA_PROPERTIES(LuaClass) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:30:71: note: expanded from macro 'BEGIN_LUNA_PROPERTIES' #define BEGIN_LUNA_PROPERTIES(klass) const PropertyType klass::Properties[] = { ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:127:2: note: in instantiation of function template specialization 'register_properties_in_metatable' requested here register_properties_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:325:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:279:21: note: used in buffer access here lua_pushstring(L, PT::Properties[i].name); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:288:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].setter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:274:29: note: used in buffer access here if (luna_table_has_key(L, PT::Properties[i].name)) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:271:18: note: used in buffer access here for (int i = 0; PT::Properties[i].name; ++i) { ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:284:59: note: used in buffer access here L, const_cast(reinterpret_cast(&(PT::Properties[i].getter)))); ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:86:38: warning: 'Methods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const MethodType LuaClass::Methods[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna.h:128:2: note: in instantiation of function template specialization 'register_methods_in_metatable' requested here register_methods_in_metatable(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/test/test_luna.cc:325:2: note: in instantiation of function template specialization 'add_parent' requested here add_parent(L); ^ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:312:58: note: used in buffer access here L, const_cast(reinterpret_cast(&PT::Methods[i].method))); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:310:21: note: used in buffer access here lua_pushstring(L, PT::Methods[i].name); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:303:18: note: used in buffer access here for (int i = 0; PT::Methods[i].name; ++i) { ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/scripting/luna_impl.h:306:29: note: used in buffer access here if (luna_table_has_key(L, PT::Methods[i].name)) { ^~~~~~~~~~~ 17 warnings generated. [2089/2312] : && /pobj/widelands-1.1/bin/c++ -O2 -pipe -DNDEBUG src/scripting/test/CMakeFiles/test_scripting.dir/scripting_test_main.cc.o src/scripting/test/CMakeFiles/test_scripting.dir/test_luna.cc.o -o src/scripting/test/test_scripting -Wl,-z,origin,-rpath,/usr/X11R6/lib:/usr/local/lib /usr/X11R6/lib/libGL.so.19.1 /usr/local/lib/libSDL2.so.0.15 src/base/libbase_macros.a src/base/libbase_test.a src/scripting/libscripting_base.a src/scripting/libscripting_luna.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a /usr/local/lib/libintl.so.8.0 src/libbuild_info.a src/logic/liblogic_filesystem_constants.a src/third_party/libthird_party_gettext.a src/third_party/libthird_party_minizip.a /usr/lib/libz.so.7.0 src/io/libio_stream.a /usr/local/lib/libSDL2main.a /usr/local/lib/libSDL2.so.0.15 -lpthread src/scripting/libscripting_errors.a src/scripting/libscripting_base.a src/third_party/libthird_party_eris.a src/base/libbase_exceptions.a src/base/libbase_macros.a /usr/X11R6/lib/libGL.so.19.1 -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : /usr/X11R6/lib/libGL.so.19.1: warning: rand() may return deterministic values, is that what you want? src/third_party/libthird_party_eris.a(loslib.c.o): In function `no symbol': loslib.c:(.text+0x1214): warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/local/lib/libintl.so.8.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/libintl.so.8.0: warning: sprintf() is often misused, please use snprintf() /usr/X11R6/lib/libGL.so.19.1: warning: random() may return deterministic values, is that what you want? /usr/X11R6/lib/libX11.so.18.0: warning: strcat() is almost always misused, please use strlcat() /usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. [2090/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/sound/CMakeFiles/note_sound.dir/note_sound.cc.o -MF src/sound/CMakeFiles/note_sound.dir/note_sound.cc.o.d -o src/sound/CMakeFiles/note_sound.dir/note_sound.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/sound/note_sound.cc [2091/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/sound/CMakeFiles/sound_constants.dir/constants.cc.o -MF src/sound/CMakeFiles/sound_constants.dir/constants.cc.o.d -o src/sound/CMakeFiles/sound_constants.dir/constants.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/sound/constants.cc [2092/2312] : && /usr/local/bin/cmake -E rm -f src/sound/libsound_constants.a && /usr/bin/ar qc src/sound/libsound_constants.a src/sound/CMakeFiles/sound_constants.dir/constants.cc.o && /usr/bin/ranlib src/sound/libsound_constants.a && : [2093/2312] : && /usr/local/bin/cmake -E rm -f src/sound/libnote_sound.a && /usr/bin/ar qc src/sound/libnote_sound.a src/sound/CMakeFiles/note_sound.dir/note_sound.cc.o && /usr/bin/ranlib src/sound/libnote_sound.a && : [2094/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/sound/CMakeFiles/sound.dir/fxset.cc.o -MF src/sound/CMakeFiles/sound.dir/fxset.cc.o.d -o src/sound/CMakeFiles/sound.dir/fxset.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/sound/fxset.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/sound/fxset.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2095/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/sound/CMakeFiles/sound.dir/songset.cc.o -MF src/sound/CMakeFiles/sound.dir/songset.cc.o.d -o src/sound/CMakeFiles/sound.dir/songset.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/sound/songset.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/sound/songset.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/sound/songset.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/fileread.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamread.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2096/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/sound/CMakeFiles/sound.dir/sound_handler.cc.o -MF src/sound/CMakeFiles/sound.dir/sound_handler.cc.o.d -o src/sound/CMakeFiles/sound.dir/sound_handler.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/sound/sound_handler.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/sound/sound_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/sound/sound_handler.h:32: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/sound/sound_handler.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2097/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic_loading_message.dir/note_loading_message.cc.o -MF src/ui_basic/CMakeFiles/ui_basic_loading_message.dir/note_loading_message.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic_loading_message.dir/note_loading_message.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/note_loading_message.cc [2098/2312] : && /usr/local/bin/cmake -E rm -f src/ui_basic/libui_basic_loading_message.a && /usr/bin/ar qc src/ui_basic/libui_basic_loading_message.a src/ui_basic/CMakeFiles/ui_basic_loading_message.dir/note_loading_message.cc.o && /usr/bin/ranlib src/ui_basic/libui_basic_loading_message.a && : [2099/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/box.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/box.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/box.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2100/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/button.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/button.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/button.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/button.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/button.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/button.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/button.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2101/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/checkbox.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/checkbox.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/checkbox.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/checkbox.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/checkbox.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/checkbox.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rendered_text.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/checkbox.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2102/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/color_chooser.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/color_chooser.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/color_chooser.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.h:22: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.cc:443:33: note: used in buffer access here [this, index]() { set_color(kPlayerColors[index]); }); ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.cc:438:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] palette_buttons_[index] = new Button( ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.cc:442:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] palette_buttons_[index]->sigclicked.connect( ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.cc:448:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] box->add(palette_buttons_[index]); ^~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.h:22: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_basic/color_chooser.cc:441:23: note: used in buffer access here playercolor_image(kPlayerColors[index], "images/ui_basic/square.png")); ^~~~~~~~~~~~~ 8 warnings generated. [2103/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/dropdown.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/dropdown.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/dropdown.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2104/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/editbox.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/editbox.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/editbox.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/editbox.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/editbox.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/editbox.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/scoped_timer.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/editbox.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_basic/editbox.cc:316:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] history_[i] = history_[i - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_basic/editbox.cc:316:21: warning: unsafe buffer access [-Wunsafe-buffer-usage] history_[i] = history_[i - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_basic/editbox.cc:453:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!history_[++history_position_].empty()) { ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_basic/editbox.cc:454:17: warning: unsafe buffer access [-Wunsafe-buffer-usage] m_->text = history_[history_position_]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_basic/editbox.cc:468:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (history_[--history_position_] != m_->text) { ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_basic/editbox.cc:469:17: warning: unsafe buffer access [-Wunsafe-buffer-usage] m_->text = history_[history_position_]; ^~~~~~~~ 9 warnings generated. [2105/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/fileview_panel.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/fileview_panel.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/fileview_panel.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/fileview_panel.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/fileview_panel.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/fileview_panel.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/fileview_panel.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2106/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/icon.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/icon.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/icon.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/icon.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/icon.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/icon.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2107/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/icongrid.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/icongrid.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/icongrid.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/icongrid.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/icongrid.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/icongrid.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2108/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/listselect.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/listselect.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/listselect.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/listselect.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/listselect.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/listselect.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rendered_text.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/listselect.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2109/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/messagebox.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/messagebox.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/messagebox.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/messagebox.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/messagebox.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/messagebox.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/button.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/messagebox.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2110/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/multilineeditbox.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/multilineeditbox.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/multilineeditbox.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/multilineeditbox.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/multilineeditbox.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/multilineeditbox.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/multilineeditbox.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2111/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/multilinetextarea.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/multilinetextarea.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/multilinetextarea.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/multilinetextarea.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/multilinetextarea.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/multilinetextarea.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/multilinetextarea.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2112/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/panel.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/panel.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/panel.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.cc:36: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. [2113/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/progressbar.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/progressbar.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/progressbar.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/progressbar.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/progressbar.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/progressbar.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/progressbar.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2114/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/progresswindow.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/progresswindow.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/progresswindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/progresswindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/progresswindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/progresswindow.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/note_graphic_resolution_changed.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/progresswindow.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/progresswindow.cc:39: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. [2115/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/radiobutton.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/radiobutton.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/radiobutton.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/radiobutton.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/radiobutton.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/radiobutton.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/checkbox.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rendered_text.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2116/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/scrollbar.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/scrollbar.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/scrollbar.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/scrollbar.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/scrollbar.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/scrollbar.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/scrollbar.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2117/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/slider.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/slider.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/slider.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/slider.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/slider.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/slider.h:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/text_panel_style.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/slider.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2118/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/spinbox.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/spinbox.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/spinbox.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/spinbox.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/spinbox.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/spinbox.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/spinbox.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2119/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/table.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/table.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/table.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2120/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/tabpanel.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/tabpanel.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/tabpanel.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/tabpanel.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/tabpanel.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/tabpanel.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rendered_text.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/tabpanel.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2121/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/textarea.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/textarea.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/textarea.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/textarea.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/textarea.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/textarea.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rendered_text.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/textarea.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2122/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/text_prompt.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/text_prompt.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/text_prompt.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/text_prompt.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/text_prompt.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/text_prompt.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/text_prompt.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2123/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/unique_window.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/unique_window.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/unique_window.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/unique_window.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/unique_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/unique_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/note_graphic_resolution_changed.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2124/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_basic/CMakeFiles/ui_basic.dir/window.cc.o -MF src/ui_basic/CMakeFiles/ui_basic.dir/window.cc.o.d -o src/ui_basic/CMakeFiles/ui_basic.dir/window.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_basic/window.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/note_graphic_resolution_changed.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/window.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2125/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/about.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/about.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/about.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/about.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/about.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/about.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/fileview_panel.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/about.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/about.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/about.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/about.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2126/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/contact.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/contact.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/contact.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/contact.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/contact.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/contact.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/contact.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/contact.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2127/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/login_box.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/login_box.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/login_box.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/login_box.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/login_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/login_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/login_box.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/login_box.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2128/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/manager.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/manager.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/manager.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.cc:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.cc:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.cc:48: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 warnings generated. [2129/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/packager.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/packager.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/packager.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager.cc:33: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48 warnings generated. [2130/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/packager_box.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/packager_box.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/packager_box.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager_box.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mutable_addon.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/mutable_addon.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/packager_box.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2131/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/progress.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/progress.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/progress.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/progress.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/progress.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/progress.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/progress.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/progress.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2132/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/remote_interaction.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/remote_interaction.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/remote_interaction.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:100:53: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] log_err("Delete comment #%" PRIuS " for %s: %s", index_, info_->internal_name.c_str(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:51:54: note: expanded from macro 'log_err' #define log_err(...) do_log(LogType::kError, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:289:52: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] log_err("Edit comment #%" PRIuS " for %s: %s", *index_, info_->internal_name.c_str(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:51:54: note: expanded from macro 'log_err' #define log_err(...) do_log(LogType::kError, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:744:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] voting_bars_[i] = new UI::ProgressBar( ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:746:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] voting_bars_[i]->set_show_percent(false); ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:747:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] voting_txt_[i] = new UI::Textarea( ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:750:12: warning: unsafe buffer access [-Wunsafe-buffer-usage] box->add(voting_bars_[i], UI::Box::Resizing::kFillSpace, UI::Align::kCenter); ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:752:12: warning: unsafe buffer access [-Wunsafe-buffer-usage] box->add(voting_txt_[i], UI::Box::Resizing::kAlign, UI::Align::kCenter); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:860:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] voting_bars_[i]->set_total(most_votes); ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:861:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] voting_bars_[i]->set_state(info_->votes[i]); ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:861:30: warning: unsafe buffer access [-Wunsafe-buffer-usage] voting_bars_[i]->set_state(info_->votes[i]); ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/remote_interaction.cc:862:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] voting_txt_[i]->set_text(std::to_string(i + 1)); ^~~~~~~~~~~ 58 warnings generated. [2133/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/rows_ui.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/rows_ui.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/rows_ui.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/rows_ui.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/rows_ui.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/rows_ui.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/rows_ui.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/rows_ui.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/rows_ui.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2134/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/screenshot_upload.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/screenshot_upload.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/screenshot_upload.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/screenshot_upload.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/screenshot_upload.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/screenshot_upload.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/screenshot_upload.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/screenshot_upload.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/screenshot_upload.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/addons/manager.h:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2135/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaigndetails.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaigndetails.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaigndetails.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigndetails.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigndetails.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigndetails.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigndetails.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigndetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapauthordata.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigndetails.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigndetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapauthordata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2136/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaigns.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaigns.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaigns.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapauthordata.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapauthordata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2137/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaign_select.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaign_select.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaign_select.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaign_select.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaign_select.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaign_select.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaign_select.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaign_select.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaign_select.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaign_select.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigndetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapauthordata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2138/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/helpwindow.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/helpwindow.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/helpwindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/helpwindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/helpwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/helpwindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_errors.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/helpwindow.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2139/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/internet_lobby.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/internet_lobby.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/internet_lobby.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/internet_lobby.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/internet_lobby.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/internet_lobby.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_controller.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/internet_lobby.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/internet_lobby.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/internet_lobby.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/internet_lobby.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/internet_lobby.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 61 warnings generated. [2140/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/keyboard_options.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/keyboard_options.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/keyboard_options.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.cc:30: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 warnings generated. [2141/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_game.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_game.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_game.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_game.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/checkbox.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/rendered_text.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_game.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapdetailsbox.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_game.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_game.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2142/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_mpg.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_mpg.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_mpg.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapdetailsbox.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_mpg.cc:33: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2143/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_spg.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_spg.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_spg.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapdetailsbox.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.cc:31: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/launch_spg.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 warnings generated. [2144/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/loadgame.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/loadgame.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/loadgame.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.cc:29: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/loadgame.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 warnings generated. [2145/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/login_box.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/login_box.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/login_box.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/login_box.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/login_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/login_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/login_box.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/login_box.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/internet_gaming.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/netclient.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/bufferedconnection.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/login_box.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 61 warnings generated. [2146/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mapdetailsbox.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mapdetailsbox.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mapdetailsbox.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapdetailsbox.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapdetailsbox.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapdetailsbox.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapdetailsbox.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapdetailsbox.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapdetailsbox.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapdetailsbox.h:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2147/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mapselect.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mapselect.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mapselect.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapselect.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapselect.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapselect.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapselect.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapselect.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapselect.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapselect.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapselect.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapselect.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapselect.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mapselect.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2148/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/main.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/main.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/main.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/button.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/history.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/draw_tool.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/tools/tool.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.cc:53: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 warnings generated. [2149/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/menu.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/menu.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/menu.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/menu.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2150/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mousewheel_options.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mousewheel_options.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mousewheel_options.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:142:11: warning: 'mods' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] uint16_t mods[] = {KMOD_CTRL, KMOD_GUI, KMOD_ALT, KMOD_SHIFT}; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:158:22: note: used in buffer access here combo = allfour & ~mods[i]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:149:35: note: used in buffer access here add(keymod_string_for(mods[i]), mods[i]); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:153:12: note: used in buffer access here combo = mods[i] | mods[j]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:153:22: note: used in buffer access here combo = mods[i] | mods[j]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:149:25: note: used in buffer access here add(keymod_string_for(mods[i]), mods[i]); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:55:26: warning: 'sd_names' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const std::string sd_names[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:180:7: note: used in buffer access here add(SDOPT(kVertical)); ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:164:20: note: expanded from macro 'SDOPT' #define SDOPT(i) _(sd_names[SD::i]), SD::i ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:43:32: note: expanded from macro '_' #define _(str) i18n::translate(str) ^~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:178:6: note: used in buffer access here add(SDOPT(kDisabled)); ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:164:20: note: expanded from macro 'SDOPT' #define SDOPT(i) _(sd_names[SD::i]), SD::i ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:43:32: note: expanded from macro '_' #define _(str) i18n::translate(str) ^~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:183:6: note: used in buffer access here add(SDOPT(kAny)); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:164:20: note: expanded from macro 'SDOPT' #define SDOPT(i) _(sd_names[SD::i]), SD::i ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:43:32: note: expanded from macro '_' #define _(str) i18n::translate(str) ^~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:181:7: note: used in buffer access here add(SDOPT(kHorizontal)); ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:164:20: note: expanded from macro 'SDOPT' #define SDOPT(i) _(sd_names[SD::i]), SD::i ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:43:32: note: expanded from macro '_' #define _(str) i18n::translate(str) ^~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:55:26: warning: 'sd_names' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const std::string sd_names[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_options.cc:285:46: note: used in buffer access here keymod_string_for(keymod), _(sd_names[dir]), other->get_title()), ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:43:32: note: expanded from macro '_' #define _(str) i18n::translate(str) ^~~ 6 warnings generated. [2151/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mousewheel_report.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mousewheel_report.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mousewheel_report.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_report.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_report.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_report.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/mousewheel_report.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2152/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/multiplayersetupgroup.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/multiplayersetupgroup.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/multiplayersetupgroup.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_player_settings_backend.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_player_settings_backend.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:30: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:28: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:538:23: note: used in buffer access here &kPlayerColors[id_]); ^~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:28: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:52:16: warning: 'kTeamColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kTeamColors[kMaxPlayers / 2 + 1] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/multiplayersetupgroup.cc:565:41: note: used in buffer access here playercolor_image(kTeamColors[t], "images/players/team.png")); ^~~~~~~~~~~ 79 warnings generated. [2153/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/netsetup_lan.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/netsetup_lan.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/netsetup_lan.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/netsetup_lan.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/netsetup_lan.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/netsetup_lan.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_controller.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/netsetup_lan.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/netsetup_lan.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/netsetup_lan.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/netsetup_lan.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network_lan_promotion.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/network/network.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/netsetup_lan.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 61 warnings generated. [2154/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/options.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/options.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/options.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/main.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.cc:39: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.cc:39: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/keyboard_options.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.cc:43: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.cc:45: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.cc:45: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/options.cc:45: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 warnings generated. [2155/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/random_game.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/random_game.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/random_game.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/main_menu_random_map.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/ui_menus/map_size_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/random_game.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/editor/editorinteractive.h:43: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2156/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/scenariodetails.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/scenariodetails.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/scenariodetails.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenariodetails.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenariodetails.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenariodetails.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenariodetails.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenariodetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapauthordata.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenariodetails.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenariodetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapauthordata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2157/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/scenario_select.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/scenario_select.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/scenario_select.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenario_select.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenario_select.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenario_select.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenario_select.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenario_select.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenario_select.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenario_select.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenariodetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/campaigns.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapauthordata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenario_select.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenario_select.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/scenario_select.cc:35: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 warnings generated. [2158/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/singleplayerdropdown.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/singleplayerdropdown.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/singleplayerdropdown.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayerdropdown.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayerdropdown.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayerdropdown.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayerdropdown.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayerdropdown.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayerdropdown.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/map_io/map_loader.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayerdropdown.cc:27: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:52:16: warning: 'kTeamColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kTeamColors[kMaxPlayers / 2 + 1] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayerdropdown.cc:385:35: note: used in buffer access here playercolor_image(kTeamColors[t], "images/players/team.png")); ^~~~~~~~~~~ 48 warnings generated. [2159/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/singleplayersetupbox.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/singleplayersetupbox.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/singleplayersetupbox.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game_settings.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.cc:26: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.cc:24: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/singleplayersetupbox.cc:92:77: note: used in buffer access here p, UI::WindowStyle::kFsMenu, settings_->settings().players[id_].color, &kPlayerColors[id_]); ^~~~~~~~~~~~~ 78 warnings generated. [2160/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/tech_info.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/tech_info.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/tech_info.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/tech_info.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/tech_info.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/tech_info.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/tech_info.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/tech_info.cc:28: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. [2161/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/training_wheel_options.cc.o -MF src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/training_wheel_options.cc.o.d -o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/training_wheel_options.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/ui_fsmenu/training_wheel_options.cc [2162/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/website/CMakeFiles/website_common.dir/website_common.cc.o -MF src/website/CMakeFiles/website_common.dir/website_common.cc.o.d -o src/website/CMakeFiles/website_common.dir/website_common.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/website/website_common.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/website/website_common.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/website_common.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2163/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/website/CMakeFiles/wl_create_spritesheet.dir/create_spritesheet.cc.o -MF src/website/CMakeFiles/wl_create_spritesheet.dir/create_spritesheet.cc.o.d -o src/website/CMakeFiles/wl_create_spritesheet.dir/create_spritesheet.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:35: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:131:59: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] spritesheet_width, spritesheet_height, columns, imgs.size(), rect.w, rect.h); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:48:54: note: expanded from macro 'log_info' #define log_info(...) do_log(LogType::kInfo, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:145:53: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] log_info("Frame %" PRIuS " at: %d, %d, %d, %d\n", i, x, y, x + rect.w, y + rect.h); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:48:54: note: expanded from macro 'log_info' #define log_info(...) do_log(LogType::kInfo, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:253:11: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] representative_animation.available_scales().size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:48:54: note: expanded from macro 'log_info' #define log_info(...) do_log(LogType::kInfo, Time(), __VA_ARGS__) ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:43:19: warning: 'animation_direction_names' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char const* const animation_direction_names[6] = {"_ne", "_e", "_se", "_sw", "_w", "_nw"}; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:287:25: note: used in buffer access here animation_name + animation_direction_names[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:293:42: note: used in buffer access here format("%s%s_%d", animation_name, animation_direction_names[dir - 1], scale); ^~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:374:27: warning: 'argv' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] int main(int argc, char** argv) { ~~~~~~~^~~~ /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:381:38: note: used in buffer access here const std::string map_object_name = argv[1]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:382:37: note: used in buffer access here const std::string animation_name = argv[2]; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/website/create_spritesheet.cc:383:34: note: used in buffer access here const std::string output_path = argv[3]; ^~~~ 70 warnings generated. [2164/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/website/CMakeFiles/wl_map_info.dir/map_info.cc.o -MF src/website/CMakeFiles/wl_map_info.dir/map_info.cc.o.d -o src/website/CMakeFiles/wl_map_info.dir/map_info.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/website/map_info.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_info.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_info.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_info.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_info.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_info.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_info.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_info.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_info.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/website/map_info.cc:36:27: warning: 'argv' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] int main(int argc, char** argv) { ~~~~~~~^~~~ /pobj/widelands-1.1/widelands-1.1/src/website/map_info.cc:43:31: note: used in buffer access here const std::string map_path = argv[argc - 1]; ^~~~ 78 warnings generated. [2165/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/website/CMakeFiles/wl_map_object_info.dir/map_object_info.cc.o -MF src/website/CMakeFiles/wl_map_object_info.dir/map_object_info.cc.o.d -o src/website/CMakeFiles/wl_map_object_info.dir/map_object_info.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/website/map_object_info.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_object_info.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_object_info.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_object_info.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_object_info.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/map_object_info.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/website/map_object_info.cc:283:27: warning: 'argv' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] int main(int argc, char** argv) { ~~~~~~~^~~~ /pobj/widelands-1.1/widelands-1.1/src/website/map_object_info.cc:290:34: note: used in buffer access here const std::string output_path = argv[argc - 1]; ^~~~ 64 warnings generated. [2166/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/website/lua/CMakeFiles/lua_tree.dir/lua_tree.cc.o -MF src/website/lua/CMakeFiles/lua_tree.dir/lua_tree.cc.o.d -o src/website/lua/CMakeFiles/lua_tree.dir/lua_tree.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/website/lua/lua_tree.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/website/lua/lua_tree.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/lua/lua_tree.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. [2167/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/website/lua/CMakeFiles/lua_tree.dir/value.cc.o -MF src/website/lua/CMakeFiles/lua_tree.dir/value.cc.o.d -o src/website/lua/CMakeFiles/lua_tree.dir/value.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/website/lua/value.cc [2168/2312] : && /usr/local/bin/cmake -E rm -f src/website/lua/liblua_tree.a && /usr/bin/ar qc src/website/lua/liblua_tree.a src/website/lua/CMakeFiles/lua_tree.dir/lua_tree.cc.o src/website/lua/CMakeFiles/lua_tree.dir/value.cc.o && /usr/bin/ranlib src/website/lua/liblua_tree.a && : [2169/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/website/json/CMakeFiles/json.dir/json.cc.o -MF src/website/json/CMakeFiles/json.dir/json.cc.o.d -o src/website/json/CMakeFiles/json.dir/json.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/website/json/json.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/website/json/json.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/website/json/json.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. [2170/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/website/json/CMakeFiles/json.dir/value.cc.o -MF src/website/json/CMakeFiles/json.dir/value.cc.o.d -o src/website/json/CMakeFiles/json.dir/value.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/website/json/value.cc [2171/2312] : && /usr/local/bin/cmake -E rm -f src/website/json/libjson.a && /usr/bin/ar qc src/website/json/libjson.a src/website/json/CMakeFiles/json.dir/json.cc.o src/website/json/CMakeFiles/json.dir/value.cc.o && /usr/bin/ranlib src/website/json/libjson.a && : [2172/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_sound_options.dir/sound_options.cc.o -MF src/wui/CMakeFiles/wui_sound_options.dir/sound_options.cc.o.d -o src/wui/CMakeFiles/wui_sound_options.dir/sound_options.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/sound_options.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/sound_options.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/sound_options.h:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/text_panel_style.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/sound_options.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2173/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_chat_ui.dir/chat_overlay.cc.o -MF src/wui/CMakeFiles/wui_chat_ui.dir/chat_overlay.cc.o.d -o src/wui/CMakeFiles/wui_chat_ui.dir/chat_overlay.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/chat_overlay.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/chat_overlay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/chat_overlay.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/chat_overlay.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2174/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_chat_ui.dir/game_chat_menu.cc.o -MF src/wui/CMakeFiles/wui_chat_ui.dir/game_chat_menu.cc.o.d -o src/wui/CMakeFiles/wui_chat_ui.dir/game_chat_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_chat_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_chat_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_chat_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/unique_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/note_graphic_resolution_changed.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_chat_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_chat_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_chat_panel.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2175/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_chat_ui.dir/game_chat_panel.cc.o -MF src/wui/CMakeFiles/wui_chat_ui.dir/game_chat_panel.cc.o.d -o src/wui/CMakeFiles/wui_chat_ui.dir/game_chat_panel.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_chat_panel.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_chat_panel.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_chat_panel.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/chat/chat.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_chat_panel.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_chat_panel.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2176/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_chat_ui.dir/chat_msg_layout.cc.o -MF src/wui/CMakeFiles/wui_chat_ui.dir/chat_msg_layout.cc.o.d -o src/wui/CMakeFiles/wui_chat_ui.dir/chat_msg_layout.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/chat_msg_layout.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/chat_msg_layout.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/chat_msg_layout.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/chat/chat.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/chat_msg_layout.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/chat_msg_layout.cc:21: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/chat_msg_layout.cc:30:37: note: used in buffer access here kPlayerColors[playern] : ^~~~~~~~~~~~~ 4 warnings generated. [2177/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_mapview_pixelconstants.dir/mapviewpixelconstants.cc.o -MF src/wui/CMakeFiles/wui_mapview_pixelconstants.dir/mapviewpixelconstants.cc.o.d -o src/wui/CMakeFiles/wui_mapview_pixelconstants.dir/mapviewpixelconstants.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/mapviewpixelconstants.cc [2178/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui_mapview_pixelconstants.a && /usr/bin/ar qc src/wui/libwui_mapview_pixelconstants.a src/wui/CMakeFiles/wui_mapview_pixelconstants.dir/mapviewpixelconstants.cc.o && /usr/bin/ranlib src/wui/libwui_mapview_pixelconstants.a && : [2179/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_mapview_pixelfunctions.dir/mapviewpixelfunctions.cc.o -MF src/wui/CMakeFiles/wui_mapview_pixelfunctions.dir/mapviewpixelfunctions.cc.o.d -o src/wui/CMakeFiles/wui_mapview_pixelfunctions.dir/mapviewpixelfunctions.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/mapviewpixelfunctions.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapviewpixelfunctions.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapviewpixelfunctions.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapviewpixelfunctions.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapviewpixelfunctions.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapviewpixelfunctions.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapviewpixelfunctions.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2180/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_common_suggested_teams.dir/suggested_teams_box.cc.o -MF src/wui/CMakeFiles/wui_common_suggested_teams.dir/suggested_teams_box.cc.o.d -o src/wui/CMakeFiles/wui_common_suggested_teams.dir/suggested_teams_box.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/suggested_teams_box.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/suggested_teams_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/suggested_teams_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/suggested_teams_box.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2181/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_common_gamedetails.dir/gamedetails.cc.o -MF src/wui/CMakeFiles/wui_common_gamedetails.dir/gamedetails.cc.o.d -o src/wui/CMakeFiles/wui_common_gamedetails.dir/gamedetails.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/texture.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/system_headers.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/gamedetails.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2182/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_common_gamedetails.dir/load_or_save_game.cc.o -MF src/wui/CMakeFiles/wui_common_gamedetails.dir/load_or_save_game.cc.o.d -o src/wui/CMakeFiles/wui_common_gamedetails.dir/load_or_save_game.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ 63 warnings generated. [2183/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_common_gamedetails.dir/savegametable.cc.o -MF src/wui/CMakeFiles/wui_common_gamedetails.dir/savegametable.cc.o.d -o src/wui/CMakeFiles/wui_common_gamedetails.dir/savegametable.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/savegametable.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegametable.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegametable.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegametable.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegametable.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2184/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_common_gamedetails.dir/savegamedeleter.cc.o -MF src/wui/CMakeFiles/wui_common_gamedetails.dir/savegamedeleter.cc.o.d -o src/wui/CMakeFiles/wui_common_gamedetails.dir/savegamedeleter.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/savegamedeleter.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegamedeleter.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegamedeleter.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/window_style.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegamedeleter.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegamedeleter.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegamedata.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2185/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_common_gamedetails.dir/savegamedata.cc.o -MF src/wui/CMakeFiles/wui_common_gamedetails.dir/savegamedata.cc.o.d -o src/wui/CMakeFiles/wui_common_gamedetails.dir/savegamedata.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/savegamedata.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegamedata.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegamedata.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegamedata.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegamedata.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2186/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_common_gamedetails.dir/savegameloader.cc.o -MF src/wui/CMakeFiles/wui_common_gamedetails.dir/savegameloader.cc.o.d -o src/wui/CMakeFiles/wui_common_gamedetails.dir/savegameloader.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/savegameloader.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegameloader.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegameloader.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegameloader.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/savegameloader.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/game_io/game_preload_packet.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2187/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_common_mapdetails.dir/mapdetails.cc.o -MF src/wui/CMakeFiles/wui_common_mapdetails.dir/mapdetails.cc.o.d -o src/wui/CMakeFiles/wui_common_mapdetails.dir/mapdetails.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdetails.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2188/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_common_mapdetails.dir/mapdata.cc.o -MF src/wui/CMakeFiles/wui_common_mapdetails.dir/mapdata.cc.o.d -o src/wui/CMakeFiles/wui_common_mapdetails.dir/mapdata.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2189/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_common_mapdetails.dir/maptable.cc.o -MF src/wui/CMakeFiles/wui_common_mapdetails.dir/maptable.cc.o.d -o src/wui/CMakeFiles/wui_common_mapdetails.dir/maptable.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/maptable.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/maptable.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/maptable.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/maptable.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/maptable.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/maptable.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/maptable.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapdata.h:24: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 47 warnings generated. [2190/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include -isystem /usr/local/include/SDL2 -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_common_mapdetails.dir/map_tags.cc.o -MF src/wui/CMakeFiles/wui_common_mapdetails.dir/map_tags.cc.o.d -o src/wui/CMakeFiles/wui_common_mapdetails.dir/map_tags.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/map_tags.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/map_tags.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/map_tags.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2191/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_quicknavigation.dir/quicknavigation.cc.o -MF src/wui/CMakeFiles/wui_quicknavigation.dir/quicknavigation.cc.o.d -o src/wui/CMakeFiles/wui_quicknavigation.dir/quicknavigation.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.cc:54:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] landmarks_[index].view = view; ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.cc:55:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] landmarks_[index].set = true; ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.cc:72:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (landmarks_[i].set && ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/quicknavigation.cc:77:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] map_view_->set_view(landmarks_[i].view, MapView::Transition::Smooth); ^~~~~~~~~~ 67 warnings generated. [2192/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_mapview.dir/mapview.cc.o -MF src/wui/CMakeFiles/wui_mapview.dir/mapview.cc.o.d -o src/wui/CMakeFiles/wui_mapview.dir/mapview.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/rendertarget.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/times.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.cc:31: /pobj/widelands-1.1/widelands-1.1/src/wlapplication.h:157:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return SDL_GetKeyboardState(nullptr)[key]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 warnings generated. [2193/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_waresdisplay.dir/waresdisplay.cc.o -MF src/wui/CMakeFiles/wui_waresdisplay.dir/waresdisplay.cc.o.d -o src/wui/CMakeFiles/wui_waresdisplay.dir/waresdisplay.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.cc:36: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.cc:36: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.cc:592:20: warning: 'unit_suffixes' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const char* unit_suffixes[] = { ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.cc:609:16: note: used in buffer access here return format(unit_suffixes[size], amount); ^~~~~~~~~~~~~ 78 warnings generated. [2194/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui_game_tips.dir/game_tips.cc.o -MF src/wui/CMakeFiles/wui_game_tips.dir/game_tips.cc.o.d -o src/wui/CMakeFiles/wui_game_tips.dir/game_tips.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_tips.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_tips.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_tips.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_basic_info.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_tips.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_tips.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_basic_info.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2195/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/actionconfirm.cc.o -MF src/wui/CMakeFiles/wui.dir/actionconfirm.cc.o.d -o src/wui/CMakeFiles/wui.dir/actionconfirm.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/actionconfirm.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/actionconfirm.cc:21: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/actionconfirm.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/actionconfirm.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/actionconfirm.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/actionconfirm.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/actionconfirm.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/actionconfirm.cc:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/actionconfirm.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/actionconfirm.cc:26: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2196/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/attack_window.cc.o -MF src/wui/CMakeFiles/wui.dir/attack_window.cc.o.d -o src/wui/CMakeFiles/wui.dir/attack_window.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/attack_window.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2197/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/building_statistics_menu.cc.o -MF src/wui/CMakeFiles/wui.dir/building_statistics_menu.cc.o.d -o src/wui/CMakeFiles/wui.dir/building_statistics_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:235:32: warning: unsafe buffer access [-Wunsafe-buffer-usage] const int last_selected_tab = tab_assignments_[tab_panel_.active()]; ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:326:52: warning: unsafe buffer access [-Wunsafe-buffer-usage] tab_panel_.add(name, g_image_cache->get(image), tabs_[tab_index], descr); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:330:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] tab_assignments_[tab_counter] = tab_index; ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:331:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] row_counters_[tab_counter] = row_counters[tab_index]; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:293:6: warning: 'row_counters' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] int row_counters[kNoOfBuildingTabs]; ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:325:7: note: used in buffer access here if (row_counters[tab_index] > 0) { ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:331:33: note: used in buffer access here row_counters_[tab_counter] = row_counters[tab_index]; ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:296:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] tabs_[tab_index] = new UI::Box(&tab_panel_, UI::PanelStyle::kWui, 0, 0, UI::Box::Vertical); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:297:30: warning: unsafe buffer access [-Wunsafe-buffer-usage] UI::Box* row = new UI::Box(tabs_[tab_index], UI::PanelStyle::kWui, 0, 0, UI::Box::Horizontal); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:308:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] tabs_[tab_index]->add(row, UI::Box::Resizing::kFullSize); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:309:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] tabs_[tab_index]->add_space(6); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:310:23: warning: unsafe buffer access [-Wunsafe-buffer-usage] row = new UI::Box(tabs_[tab_index], UI::PanelStyle::kWui, 0, 0, UI::Box::Horizontal); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:316:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] tabs_[tab_index]->add(row, UI::Box::Resizing::kFullSize); ^~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:277:43: warning: 'buildings_to_add' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] std::vector buildings_to_add[kNoOfBuildingTabs]; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:281:4: note: used in buffer access here buildings_to_add[find_tab_for_building(*tribe.get_building_descr(index))].push_back(index); ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:288:4: note: used in buffer access here buildings_to_add[find_tab_for_building(*tribe.get_building_descr(index))].push_back(index); ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:300:47: note: used in buffer access here for (const Widelands::DescriptionIndex id : buildings_to_add[tab_index]) { ^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:293:6: warning: 'row_counters' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] int row_counters[kNoOfBuildingTabs]; ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:306:7: note: used in buffer access here ++row_counters[tab_index]; ^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.cc:298:3: note: used in buffer access here row_counters[tab_index] = 0; ^~~~~~~~~~~~ 92 warnings generated. [2198/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/buildingwindow.cc.o -MF src/wui/CMakeFiles/wui.dir/buildingwindow.cc.o.d -o src/wui/CMakeFiles/wui.dir/buildingwindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/expedition_bootstrap.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.cc:39: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2199/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/constructionsitewindow.cc.o -MF src/wui/CMakeFiles/wui.dir/constructionsitewindow.cc.o.d -o src/wui/CMakeFiles/wui.dir/constructionsitewindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/constructionsitewindow.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2200/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/debugconsole.cc.o -MF src/wui/CMakeFiles/wui.dir/debugconsole.cc.o.d -o src/wui/CMakeFiles/wui.dir/debugconsole.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/debugconsole.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/debugconsole.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/log.h:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2201/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/dismantlesitewindow.cc.o -MF src/wui/CMakeFiles/wui.dir/dismantlesitewindow.cc.o.d -o src/wui/CMakeFiles/wui.dir/dismantlesitewindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/dismantlesitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/dismantlesite.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2202/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/economy_options_window.cc.o -MF src/wui/CMakeFiles/wui.dir/economy_options_window.cc.o.d -o src/wui/CMakeFiles/wui.dir/economy_options_window.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.h:24: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.cc:31: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/economy_options_window.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 80 warnings generated. [2203/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/encyclopedia_window.cc.o -MF src/wui/CMakeFiles/wui.dir/encyclopedia_window.cc.o.d -o src/wui/CMakeFiles/wui.dir/encyclopedia_window.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_errors.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2204/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/fieldaction.cc.o -MF src/wui/CMakeFiles/wui.dir/fieldaction.cc.o.d -o src/wui/CMakeFiles/wui.dir/fieldaction.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/unique_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/note_graphic_resolution_changed.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:23: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:35: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:44: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:218:26: warning: 'pic_tab_buildhouse' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const char* const pic_tab_buildhouse[] = {"images/wui/fieldaction/menu_tab_buildsmall.png", ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:617:53: note: used in buffer access here add_tab(name_tab_build[i], pic_tab_buildhouse[i], bbg_house[i], ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:222:26: warning: 'tooltip_tab_build' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const char* const tooltip_tab_build[] = {_("Build small building"), ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:618:50: note: used in buffer access here i18n::translate(tooltip_tab_build[i]))); ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:225:26: warning: 'name_tab_build' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const char* const name_tab_build[] = {"small", "medium", "big", "port"}; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:617:34: note: used in buffer access here add_tab(name_tab_build[i], pic_tab_buildhouse[i], bbg_house[i], ^~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:529:13: warning: 'bbg_house' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] BuildGrid* bbg_house[4] = {nullptr, nullptr, nullptr, nullptr}; ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:617:76: note: used in buffer access here add_tab(name_tab_build[i], pic_tab_buildhouse[i], bbg_house[i], ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:615:7: note: used in buffer access here if (bbg_house[i] != nullptr) { ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:592:15: note: used in buffer access here ppgrid = &bbg_house[3]; ^~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/fieldaction.cc:594:15: note: used in buffer access here ppgrid = &bbg_house[size]; ^~~~~~~~~ 85 warnings generated. [2205/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/game_client_disconnected.cc.o -MF src/wui/CMakeFiles/wui.dir/game_client_disconnected.cc.o.d -o src/wui/CMakeFiles/wui.dir/game_client_disconnected.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:25: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/ai_dna_handler.h:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_client_disconnected.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/defaultai.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_help_structs.h:33: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 81 warnings generated. [2206/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/game_debug_ui.cc.o -MF src/wui/CMakeFiles/wui.dir/game_debug_ui.cc.o.d -o src/wui/CMakeFiles/wui.dir/game_debug_ui.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc:207:58: warning: unsafe buffer access [-Wunsafe-buffer-usage] const Widelands::Player::Field& player_field = player->fields()[i]; ~~~~~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc:215:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] player_field.time_triangle_last_surveyed[static_cast(Widelands::TriangleIndex::D)]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/game_debug_ui.cc:227:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] player_field.time_triangle_last_surveyed[static_cast(Widelands::TriangleIndex::R)]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 warnings generated. [2207/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/game_diplomacy_menu.cc.o -MF src/wui/CMakeFiles/wui.dir/game_diplomacy_menu.cc.o.d -o src/wui/CMakeFiles/wui.dir/game_diplomacy_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:26: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/field.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:52:16: warning: 'kTeamColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kTeamColors[kMaxPlayers / 2 + 1] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/game_diplomacy_menu.cc:248:38: note: used in buffer access here playercolor_image, kTeamColors[t /* it's 1-based, 0 means No Team */], ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/multithreading.h:87:74: note: expanded from macro 'THREADSAFE_T' #define THREADSAFE_T(R, S, F, ...) multithreading_impl::wrapper(__VA_ARGS__) ^~~~~~~~~~~ 82 warnings generated. [2208/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/game_exit_confirm_box.cc.o -MF src/wui/CMakeFiles/wui.dir/game_exit_confirm_box.cc.o.d -o src/wui/CMakeFiles/wui.dir/game_exit_confirm_box.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/messagebox.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/button.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_exit_confirm_box.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2209/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/game_main_menu_save_game.cc.o -MF src/wui/CMakeFiles/wui.dir/game_main_menu_save_game.cc.o.d -o src/wui/CMakeFiles/wui.dir/game_main_menu_save_game.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/load_or_save_game.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.cc:34: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.cc:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.cc:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_main_menu_save_game.cc:37: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2210/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/game_message_menu.cc.o -MF src/wui/CMakeFiles/wui.dir/game_message_menu.cc.o.d -o src/wui/CMakeFiles/wui.dir/game_message_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:25: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:26: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:240:26: warning: 'status_picture_filename' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static char const* const status_picture_filename[] = {"images/wui/messages/message_new.png", ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/game_message_menu.cc:340:35: note: used in buffer access here ColStatus, g_image_cache->get(status_picture_filename[static_cast(message.status())])); ^~~~~~~~~~~~~~~~~~~~~~~ 81 warnings generated. [2211/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/game_objectives_menu.cc.o -MF src/wui/CMakeFiles/wui.dir/game_objectives_menu.cc.o.d -o src/wui/CMakeFiles/wui.dir/game_objectives_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.cc:23: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.cc:24: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_objectives_menu.cc:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 81 warnings generated. [2212/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/game_options_sound_menu.cc.o -MF src/wui/CMakeFiles/wui.dir/game_options_sound_menu.cc.o.d -o src/wui/CMakeFiles/wui.dir/game_options_sound_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_options_sound_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_options_sound_menu.cc:18: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_options_sound_menu.h:21: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/unique_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/note_graphic_resolution_changed.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_options_sound_menu.cc:20: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ 3 warnings generated. [2213/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/game_summary.cc.o -MF src/wui/CMakeFiles/wui.dir/game_summary.cc.o.d -o src/wui/CMakeFiles/wui.dir/game_summary.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/style_manager.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc:28: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc:30: /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:74:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return players_[n - 1]; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/playersmanager.h:79:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *players_[n - 1]; ^~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/game_summary.cc:304:13: warning: format specifies type 'unsigned int' but the argument has type 'size_type' (aka 'unsigned long') [-Wformat] pair.size(), substring.c_str(), info.c_str()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:50:57: note: expanded from macro 'log_warn' #define log_warn(...) do_log(LogType::kWarning, Time(), __VA_ARGS__) ^~~~~~~~~~~ 82 warnings generated. [2214/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/general_statistics_menu.cc.o -MF src/wui/CMakeFiles/wui.dir/general_statistics_menu.cc.o.d -o src/wui/CMakeFiles/wui.dir/general_statistics_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:24: /pobj/widelands-1.1/widelands-1.1/src/graphic/playercolor.h:32:16: warning: 'kPlayerColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const RGBColor kPlayerColors[kMaxPlayers] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:103:46: note: used in buffer access here kPlayerColors[i]; ^~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:230:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] cbs_[p - 1] = nullptr; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:245:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] cbs_[p - 1] = &cb; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:264:8: warning: unsafe buffer access [-Wunsafe-buffer-usage] (cbs_[p - 1] == nullptr) || ^~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:265:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] cbs_[p - 1]->style() == UI::Button::VisualState::kPermpressed; ^~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:275:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] cbs_[id - 1]->toggle(); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:276:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] show_or_hide_plot(id, cbs_[id - 1]->style() == UI::Button::VisualState::kPermpressed); ^~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:289:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (cbs_[i] != nullptr) { ^~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.cc:291:28: warning: unsafe buffer access [-Wunsafe-buffer-usage] i * ndatasets_ + id, cbs_[i]->style() == UI::Button::VisualState::kPermpressed); ^~~~ 88 warnings generated. [2215/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/helpwindow.cc.o -MF src/wui/CMakeFiles/wui.dir/helpwindow.cc.o.d -o src/wui/CMakeFiles/wui.dir/helpwindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/helpwindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/helpwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/helpwindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/helpwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/helpwindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/helpwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/helpwindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/helpwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/helpwindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/helpwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/helpwindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ 63 warnings generated. [2216/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/info_panel.cc.o -MF src/wui/CMakeFiles/wui.dir/info_panel.cc.o.d -o src/wui/CMakeFiles/wui.dir/info_panel.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/message_id.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/dropdown.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.cc:30: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/info_panel.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2217/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/inputqueuedisplay.cc.o -MF src/wui/CMakeFiles/wui.dir/inputqueuedisplay.cc.o.d -o src/wui/CMakeFiles/wui.dir/inputqueuedisplay.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/constructionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/partially_finished_building.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/wares_queue.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/input_queue.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:24: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:642:24: warning: 'kPriorityColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const RGBAColor kPriorityColors[] = {RGBAColor(0, 0, 255, 127), RGBAColor(63, 127, 255, 127), ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:653:16: note: used in buffer access here kPriorityColors[i], BlendMode::Default); ^~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:642:24: warning: 'kPriorityColors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const RGBAColor kPriorityColors[] = {RGBAColor(0, 0, 255, 127), RGBAColor(63, 127, 255, 127), ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/inputqueuedisplay.cc:705:15: note: used in buffer access here kPriorityColors[p], BlendMode::Copy); ^~~~~~~~~~~~~~~ 79 warnings generated. [2218/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/interactive_base.cc.o -MF src/wui/CMakeFiles/wui.dir/interactive_base.cc.o.d -o src/wui/CMakeFiles/wui.dir/interactive_base.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:31: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/road.h:23: /pobj/widelands-1.1/widelands-1.1/src/economy/roadbase.h:61:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return *flags_[flag]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:56: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/building_statistics_menu.h:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:159:21: warning: 'buildhelp_overlay' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] BuildhelpOverlay* buildhelp_overlay = buildhelp_overlays_; ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:174:6: note: used in pointer arithmetic here ++buildhelp_overlay; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:172:6: note: used in pointer arithmetic here buildhelp_overlay + Widelands::Field::Buildhelp_None; ^~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:164:22: warning: 'filename' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char* const* filename = filenames; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:175:6: note: used in pointer arithmetic here ++filename; ^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:335:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] return &buildhelp_overlays_[buildhelp_overlay_index]; ^~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.cc:1131:17: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] length, egbase().map().get_waterway_max_length()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/base/log.h:45:66: note: expanded from macro 'log_warn_time' #define log_warn_time(time, ...) do_log(LogType::kWarning, time, __VA_ARGS__) ^~~~~~~~~~~ 85 warnings generated. [2219/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/interactive_gamebase.cc.o -MF src/wui/CMakeFiles/wui.dir/interactive_gamebase.cc.o.d -o src/wui/CMakeFiles/wui.dir/interactive_gamebase.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.cc:32: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2220/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/interactive_player.cc.o -MF src/wui/CMakeFiles/wui.dir/interactive_player.cc.o.d -o src/wui/CMakeFiles/wui.dir/interactive_player.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:536:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] plr.fields()[map.get_index(f->fcoords, map.get_width())]; ~~~~^~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.cc:891:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] plr.fields()[map.get_index(coords, map.get_width())]; ~~~~^~~~~~~~ 82 warnings generated. [2221/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/interactive_spectator.cc.o -MF src/wui/CMakeFiles/wui.dir/interactive_spectator.cc.o.d -o src/wui/CMakeFiles/wui.dir/interactive_spectator.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/profile.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_spectator.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2222/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/itemwaresdisplay.cc.o -MF src/wui/CMakeFiles/wui.dir/itemwaresdisplay.cc.o.d -o src/wui/CMakeFiles/wui.dir/itemwaresdisplay.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/itemwaresdisplay.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/itemwaresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/itemwaresdisplay.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/itemwaresdisplay.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/itemwaresdisplay.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/itemwaresdisplay.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/itemwaresdisplay.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/itemwaresdisplay.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/itemwaresdisplay.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/itemwaresdisplay.cc:23: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2223/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/militarysitewindow.cc.o -MF src/wui/CMakeFiles/wui.dir/militarysitewindow.cc.o.d -o src/wui/CMakeFiles/wui.dir/militarysitewindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/militarysite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/militarysitewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2224/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/minimap.cc.o -MF src/wui/CMakeFiles/wui.dir/minimap.cc.o.d -o src/wui/CMakeFiles/wui.dir/minimap.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/texture.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/system_headers.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.cc:31: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2225/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/plot_area.cc.o -MF src/wui/CMakeFiles/wui.dir/plot_area.cc.o.d -o src/wui/CMakeFiles/wui.dir/plot_area.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/plot_area.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/plot_area.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/plot_area.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/plot_area.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/plot_area.cc:46:16: warning: 'time_in_ms' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const uint32_t time_in_ms[] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/plot_area.cc:357:63: note: used in buffer access here labels.push_back(get_value_with_unit(unit, ms_to_unit(unit, time_in_ms[i]))); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/plot_area.cc:356:35: note: used in buffer access here Units unit = get_suggested_unit(time_in_ms[i], false); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/plot_area.cc:46:16: warning: 'time_in_ms' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const uint32_t time_in_ms[] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/plot_area.cc:385:9: note: used in buffer access here return time_in_ms[time_]; ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/plot_area.cc:46:16: warning: 'time_in_ms' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const uint32_t time_in_ms[] = { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/plot_area.cc:399:23: note: used in buffer access here for (i = 1; i < 7 && time_in_ms[i] <= game_time; i++) { ^~~~~~~~~~ 6 warnings generated. [2226/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/portdockwaresdisplay.cc.o -MF src/wui/CMakeFiles/wui.dir/portdockwaresdisplay.cc.o.d -o src/wui/CMakeFiles/wui.dir/portdockwaresdisplay.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/portdockwaresdisplay.cc:23: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2227/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/productionsitewindow.cc.o -MF src/wui/CMakeFiles/wui.dir/productionsitewindow.cc.o.d -o src/wui/CMakeFiles/wui.dir/productionsitewindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2228/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/seafaring_statistics_menu.cc.o -MF src/wui/CMakeFiles/wui.dir/seafaring_statistics_menu.cc.o.d -o src/wui/CMakeFiles/wui.dir/seafaring_statistics_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/seafaring_statistics_menu.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ 80 warnings generated. [2229/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/shipwindow.cc.o -MF src/wui/CMakeFiles/wui.dir/shipwindow.cc.o.d -o src/wui/CMakeFiles/wui.dir/shipwindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:80:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] btn_scout_[Widelands::WALK_NW - 1] = ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:83:15: warning: unsafe buffer access [-Wunsafe-buffer-usage] exp_top->add(btn_scout_[Widelands::WALK_NW - 1]); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:90:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] btn_scout_[Widelands::WALK_NE - 1] = ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:93:15: warning: unsafe buffer access [-Wunsafe-buffer-usage] exp_top->add(btn_scout_[Widelands::WALK_NE - 1]); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:95:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] btn_scout_[Widelands::WALK_W - 1] = ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:98:15: warning: unsafe buffer access [-Wunsafe-buffer-usage] exp_mid->add(btn_scout_[Widelands::WALK_W - 1]); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:105:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] btn_scout_[Widelands::WALK_E - 1] = ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:108:15: warning: unsafe buffer access [-Wunsafe-buffer-usage] exp_mid->add(btn_scout_[Widelands::WALK_E - 1]); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:110:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] btn_scout_[Widelands::WALK_SW - 1] = ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:113:15: warning: unsafe buffer access [-Wunsafe-buffer-usage] exp_bot->add(btn_scout_[Widelands::WALK_SW - 1]); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:120:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] btn_scout_[Widelands::WALK_SE - 1] = ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:123:15: warning: unsafe buffer access [-Wunsafe-buffer-usage] exp_bot->add(btn_scout_[Widelands::WALK_SE - 1]); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/shipwindow.cc:269:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] btn_scout_[dir - 1]->set_enabled( ^~~~~~~~~~ 92 warnings generated. [2230/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/soldiercapacitycontrol.cc.o -MF src/wui/CMakeFiles/wui.dir/soldiercapacitycontrol.cc.o.d -o src/wui/CMakeFiles/wui.dir/soldiercapacitycontrol.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/soldiercapacitycontrol.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldiercapacitycontrol.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldiercapacitycontrol.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldiercapacitycontrol.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldiercapacitycontrol.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldiercapacitycontrol.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldiercapacitycontrol.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldiercapacitycontrol.cc:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldiercapacitycontrol.cc:22: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2231/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/soldierlist.cc.o -MF src/wui/CMakeFiles/wui.dir/soldierlist.cc.o.d -o src/wui/CMakeFiles/wui.dir/soldierlist.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/soldierlist.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldierlist.cc:26: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldierlist.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/font_handler.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/text/font_set.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldierlist.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldierlist.cc:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldierlist.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/soldier.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldierlist.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldierlist.cc:34: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldierlist.cc:34: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2232/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/soldier_statistics_menu.cc.o -MF src/wui/CMakeFiles/wui.dir/soldier_statistics_menu.cc.o.d -o src/wui/CMakeFiles/wui.dir/soldier_statistics_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/soldier_statistics_menu.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2233/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/stock_menu.cc.o -MF src/wui/CMakeFiles/wui.dir/stock_menu.cc.o.d -o src/wui/CMakeFiles/wui.dir/stock_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/box.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/panel.h:31: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/waresdisplay.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.cc:22: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.cc:26: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/stock_menu.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2234/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/story_message_box.cc.o -MF src/wui/CMakeFiles/wui.dir/story_message_box.cc.o.d -o src/wui/CMakeFiles/wui.dir/story_message_box.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/story_message_box.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_gamebase.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/general_statistics_menu.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2235/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/toolbar.cc.o -MF src/wui/CMakeFiles/wui.dir/toolbar.cc.o.d -o src/wui/CMakeFiles/wui.dir/toolbar.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/toolbar.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/toolbar.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/toolbar.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/toolbar_imageset.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/toolbar.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/toolbar.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/toolbar_imageset.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ 3 warnings generated. [2236/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/trainingsitewindow.cc.o -MF src/wui/CMakeFiles/wui.dir/trainingsitewindow.cc.o.d -o src/wui/CMakeFiles/wui.dir/trainingsitewindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ai/ai_hints.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/trainingsite.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/productionsite.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/building.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/trainingsitewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/productionsitewindow.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 warnings generated. [2237/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/tribal_encyclopedia.cc.o -MF src/wui/CMakeFiles/wui.dir/tribal_encyclopedia.cc.o.d -o src/wui/CMakeFiles/wui.dir/tribal_encyclopedia.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_interface.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_errors.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/wexception.h:25: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/encyclopedia_window.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.cc:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.cc:27: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/tribal_encyclopedia.cc:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 79 warnings generated. [2238/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/unique_window_handler.cc.o -MF src/wui/CMakeFiles/wui.dir/unique_window_handler.cc.o.d -o src/wui/CMakeFiles/wui.dir/unique_window_handler.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/unique_window_handler.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/unique_window_handler.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/unique_window_handler.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ 1 warning generated. [2239/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/ware_statistics_menu.cc.o -MF src/wui/CMakeFiles/wui.dir/ware_statistics_menu.cc.o.d -o src/wui/CMakeFiles/wui.dir/ware_statistics_menu.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/unique_window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/window.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/note_graphic_resolution_changed.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/notifications/notifications_impl.h:28: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/buildcost.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/immovable.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/tribe_descr.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/worker.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/portdock.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/shippingitem.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/game.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:48:23: warning: 'colors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const RGBColor colors[] = { ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:93:10: note: used in buffer access here return colors[color_map_.at(ware)]; ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:48:23: warning: 'colors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const RGBColor colors[] = { ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:177:6: note: used in buffer access here colors[kInactiveColorIndex]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:172:41: note: used in buffer access here colors[kInactiveColorIndex]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:186:6: note: used in buffer access here colors[kInactiveColorIndex]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:167:6: note: used in buffer access here colors[kInactiveColorIndex]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:48:23: warning: 'colors' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const RGBColor colors[] = { ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:226:55: note: used in buffer access here plot_stock_->set_plotcolor(static_cast(id), colors[color_index]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:225:57: note: used in buffer access here plot_economy_->set_plotcolor(static_cast(id), colors[color_index]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:223:60: note: used in buffer access here plot_production_->set_plotcolor(static_cast(id), colors[color_index]); ^~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/ware_statistics_menu.cc:224:61: note: used in buffer access here plot_consumption_->set_plotcolor(static_cast(id), colors[color_index]); ^~~~~~ 82 warnings generated. [2240/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/warehousewindow.cc.o -MF src/wui/CMakeFiles/wui.dir/warehousewindow.cc.o.d -o src/wui/CMakeFiles/wui.dir/warehousewindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.h:24: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/animation.h:32: In file included from /pobj/widelands-1.1/widelands-1.1/src/scripting/lua_table.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/string.h:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/format/tree.h:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/warehouse.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/ware_instance.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/transfer.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/buildingwindow.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_base.h:35: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/minimap.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/minimap_renderer.h:29: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:24: /pobj/widelands-1.1/widelands-1.1/src/economy/flag.h:127:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return roads_[dir - 1]; ^~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/warehousewindow.cc:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/playercommand.h:27: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ 80 warnings generated. [2241/2312] /pobj/widelands-1.1/bin/c++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/pobj/widelands-1.1/widelands-1.1/src -I/pobj/widelands-1.1/build-mips64/src -I/pobj/widelands-1.1/widelands-1.1/src/third_party/minizip -isystem /usr/X11R6/include -isystem /usr/local/include/SDL2 -isystem /usr/local/include -O2 -pipe -DNDEBUG -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-sign-conversion -Wno-missing-noreturn -Wno-switch-enum -Wno-weak-vtables -Wno-unreachable-code -Wno-documentation -Qunused-arguments -Wint-to-void-pointer-cast -Winconsistent-missing-override -MD -MT src/wui/CMakeFiles/wui.dir/watchwindow.cc.o -MF src/wui/CMakeFiles/wui.dir/watchwindow.cc.o.d -o src/wui/CMakeFiles/wui.dir/watchwindow.cc.o -c /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/ui_basic/button.h:22: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/button_style.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/styles/panel_styles.h:23: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/image.h:22: /pobj/widelands-1.1/widelands-1.1/src/base/macros.h:138:5: warning: '__WORDSIZE' is not defined, evaluates to 0 [-Wundef] #if __WORDSIZE == 64 ^ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/addons.h:30: In file included from /pobj/widelands-1.1/widelands-1.1/src/base/i18n.h:28: /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:221:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:228:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:229:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:259:8: warning: 'msg_ctxt_id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char* msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof(buf) ? ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:266:3: note: used in buffer access here msg_ctxt_id[msgctxt_len - 1] = '\004'; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/third_party/gettext/gettext.h:267:10: note: used in pointer arithmetic here memcpy(msg_ctxt_id + msgctxt_len, msgid, msgid_len); ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:26: /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:789:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:792:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:822:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x - 1, f.y), f.field - 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:825:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:860:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + 1; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:863:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:893:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x + 1, f.y), f.field + 1); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:896:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:935:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:939:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:942:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:945:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:981:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:985:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:988:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:991:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1030:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field - width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1033:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1036:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1042:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1077:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y - 1), f.field - width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1080:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1083:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1088:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1126:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1129:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1133:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1136:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field += width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1172:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1175:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1179:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] --result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1182:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field += width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1223:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field = f.field + width_; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1226:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++o->field; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1229:7: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= width_; ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1235:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] o->field -= max_index(); ~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1270:39: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] FCoords result(Coords(f.x, f.y + 1), f.field + width_); ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1273:12: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++result.field; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1276:11: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= width_; ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1281:10: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] result.field -= max_index(); ~~~~~~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1314:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1317:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1325:6: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] ++f.field; ~~^~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map.h:1329:5: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] f.field -= mapwidth; ~~^~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:26: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/filewrite.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/io/streamwrite.h:26: /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:41:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:42:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:48:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:49:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:50:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:51:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:57:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[0] = reinterpret_cast(&x)[3]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:58:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[1] = reinterpret_cast(&x)[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:59:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[2] = reinterpret_cast(&x)[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/io/machdep.h:60:2: warning: unsafe buffer access [-Wunsafe-buffer-usage] reinterpret_cast(&s)[3] = reinterpret_cast(&x)[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:19: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/mapview.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/graphic/gl/fields_to_draw.h:25: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/editor_game_base.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/bob.h:24: In file included from /pobj/widelands-1.1/widelands-1.1/src/economy/route.h:27: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/map_object.h:26: /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:34:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return animations_[dir - 1]; ^~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/graphic/animation/diranimations.h:37:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] animations_[dir - 1] = anim; ^~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:26: /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:177:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/economy/economy.h:180:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return target_quantities_[i]; ^~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:28: In file included from /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:34: /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:39:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:40:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:41:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:75:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return counts_[static_cast(status)]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:85:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message->status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:101:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:102:6: warning: unsafe buffer access [-Wunsafe-buffer-usage] ++counts_[static_cast(message.set_status(status))]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:122:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] --counts_[static_cast(message.status())]; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:149:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kNew)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:150:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kRead)] = 0; ^~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/message_queue.h:151:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] counts_[static_cast(Message::Status::kArchived)] = 0; ^~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:28: /pobj/widelands-1.1/widelands-1.1/src/logic/player.h:245:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] time_triangle_last_surveyed[1] = Time(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:33: In file included from /pobj/widelands-1.1/widelands-1.1/src/wui/interactive_player.h:25: /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:201:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] return expedition_->swimmable[dir - 1]; ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/logic/map_objects/tribes/ship.h:214:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (!expedition_->swimmable[dir - 1]) ^~~~~~~~~~~~~~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:69:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] view_btns_[i] = new UI::Button( ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:71:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] view_btns_[i]->sigclicked.connect([this, i]() { view_button_clicked(i); }); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:142:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] view_btns_[i]->set_title(std::to_string(i + 1)); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:143:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] view_btns_[i]->set_enabled(true); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:145:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] view_btns_[i]->set_title("-"); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:146:4: warning: unsafe buffer access [-Wunsafe-buffer-usage] view_btns_[i]->set_enabled(false); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:159:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] view_btns_[cur_index_]->set_perm_pressed(false); ^~~~~~~~~~ /pobj/widelands-1.1/widelands-1.1/src/wui/watchwindow.cc:160:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] view_btns_[idx]->set_perm_pressed(true); ^~~~~~~~~~ 87 warnings generated. [2242/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui.a && /usr/bin/ar qc src/wui/libwui.a src/wui/CMakeFiles/wui.dir/actionconfirm.cc.o src/wui/CMakeFiles/wui.dir/attack_window.cc.o src/wui/CMakeFiles/wui.dir/building_statistics_menu.cc.o src/wui/CMakeFiles/wui.dir/buildingwindow.cc.o src/wui/CMakeFiles/wui.dir/constructionsitewindow.cc.o src/wui/CMakeFiles/wui.dir/debugconsole.cc.o src/wui/CMakeFiles/wui.dir/dismantlesitewindow.cc.o src/wui/CMakeFiles/wui.dir/economy_options_window.cc.o src/wui/CMakeFiles/wui.dir/encyclopedia_window.cc.o src/wui/CMakeFiles/wui.dir/fieldaction.cc.o src/wui/CMakeFiles/wui.dir/game_client_disconnected.cc.o src/wui/CMakeFiles/wui.dir/game_debug_ui.cc.o src/wui/CMakeFiles/wui.dir/game_diplomacy_menu.cc.o src/wui/CMakeFiles/wui.dir/game_exit_confirm_box.cc.o src/wui/CMakeFiles/wui.dir/game_main_menu_save_game.cc.o src/wui/CMakeFiles/wui.dir/game_message_menu.cc.o src/wui/CMakeFiles/wui.dir/game_objectives_menu.cc.o src/wui/CMakeFiles/wui.dir/game_options_sound_menu.cc.o src/wui/CMakeFiles/wui.dir/game_summary.cc.o src/wui/CMakeFiles/wui.dir/general_statistics_menu.cc.o src/wui/CMakeFiles/wui.dir/helpwindow.cc.o src/wui/CMakeFiles/wui.dir/info_panel.cc.o src/wui/CMakeFiles/wui.dir/inputqueuedisplay.cc.o src/wui/CMakeFiles/wui.dir/interactive_base.cc.o src/wui/CMakeFiles/wui.dir/interactive_gamebase.cc.o src/wui/CMakeFiles/wui.dir/interactive_player.cc.o src/wui/CMakeFiles/wui.dir/interactive_spectator.cc.o src/wui/CMakeFiles/wui.dir/itemwaresdisplay.cc.o src/wui/CMakeFiles/wui.dir/militarysitewindow.cc.o src/wui/CMakeFiles/wui.dir/minimap.cc.o src/wui/CMakeFiles/wui.dir/plot_area.cc.o src/wui/CMakeFiles/wui.dir/portdockwaresdisplay.cc.o src/wui/CMakeFiles/wui.dir/productionsitewindow.cc.o src/wui/CMakeFiles/wui.dir/seafaring_statistics_menu.cc.o src/wui/CMakeFiles/wui.dir/shipwindow.cc.o src/wui/CMakeFiles/wui.dir/soldiercapacitycontrol.cc.o src/wui/CMakeFiles/wui.dir/soldierlist.cc.o src/wui/CMakeFiles/wui.dir/soldier_statistics_menu.cc.o src/wui/CMakeFiles/wui.dir/stock_menu.cc.o src/wui/CMakeFiles/wui.dir/story_message_box.cc.o src/wui/CMakeFiles/wui.dir/toolbar.cc.o src/wui/CMakeFiles/wui.dir/trainingsitewindow.cc.o src/wui/CMakeFiles/wui.dir/tribal_encyclopedia.cc.o src/wui/CMakeFiles/wui.dir/unique_window_handler.cc.o src/wui/CMakeFiles/wui.dir/ware_statistics_menu.cc.o src/wui/CMakeFiles/wui.dir/warehousewindow.cc.o src/wui/CMakeFiles/wui.dir/watchwindow.cc.o && /usr/bin/ranlib src/wui/libwui.a && : [2243/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui_game_tips.a && /usr/bin/ar qc src/wui/libwui_game_tips.a src/wui/CMakeFiles/wui_game_tips.dir/game_tips.cc.o && /usr/bin/ranlib src/wui/libwui_game_tips.a && : [2244/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui_waresdisplay.a && /usr/bin/ar qc src/wui/libwui_waresdisplay.a src/wui/CMakeFiles/wui_waresdisplay.dir/waresdisplay.cc.o && /usr/bin/ranlib src/wui/libwui_waresdisplay.a && : [2245/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui_mapview.a && /usr/bin/ar qc src/wui/libwui_mapview.a src/wui/CMakeFiles/wui_mapview.dir/mapview.cc.o && /usr/bin/ranlib src/wui/libwui_mapview.a && : [2246/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui_quicknavigation.a && /usr/bin/ar qc src/wui/libwui_quicknavigation.a src/wui/CMakeFiles/wui_quicknavigation.dir/quicknavigation.cc.o && /usr/bin/ranlib src/wui/libwui_quicknavigation.a && : [2247/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui_common_mapdetails.a && /usr/bin/ar qc src/wui/libwui_common_mapdetails.a src/wui/CMakeFiles/wui_common_mapdetails.dir/mapdetails.cc.o src/wui/CMakeFiles/wui_common_mapdetails.dir/mapdata.cc.o src/wui/CMakeFiles/wui_common_mapdetails.dir/maptable.cc.o src/wui/CMakeFiles/wui_common_mapdetails.dir/map_tags.cc.o && /usr/bin/ranlib src/wui/libwui_common_mapdetails.a && : [2248/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui_common_gamedetails.a && /usr/bin/ar qc src/wui/libwui_common_gamedetails.a src/wui/CMakeFiles/wui_common_gamedetails.dir/gamedetails.cc.o src/wui/CMakeFiles/wui_common_gamedetails.dir/load_or_save_game.cc.o src/wui/CMakeFiles/wui_common_gamedetails.dir/savegametable.cc.o src/wui/CMakeFiles/wui_common_gamedetails.dir/savegamedeleter.cc.o src/wui/CMakeFiles/wui_common_gamedetails.dir/savegamedata.cc.o src/wui/CMakeFiles/wui_common_gamedetails.dir/savegameloader.cc.o && /usr/bin/ranlib src/wui/libwui_common_gamedetails.a && : [2249/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui_common_suggested_teams.a && /usr/bin/ar qc src/wui/libwui_common_suggested_teams.a src/wui/CMakeFiles/wui_common_suggested_teams.dir/suggested_teams_box.cc.o && /usr/bin/ranlib src/wui/libwui_common_suggested_teams.a && : [2250/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui_mapview_pixelfunctions.a && /usr/bin/ar qc src/wui/libwui_mapview_pixelfunctions.a src/wui/CMakeFiles/wui_mapview_pixelfunctions.dir/mapviewpixelfunctions.cc.o && /usr/bin/ranlib src/wui/libwui_mapview_pixelfunctions.a && : [2251/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui_chat_ui.a && /usr/bin/ar qc src/wui/libwui_chat_ui.a src/wui/CMakeFiles/wui_chat_ui.dir/chat_overlay.cc.o src/wui/CMakeFiles/wui_chat_ui.dir/game_chat_menu.cc.o src/wui/CMakeFiles/wui_chat_ui.dir/game_chat_panel.cc.o src/wui/CMakeFiles/wui_chat_ui.dir/chat_msg_layout.cc.o && /usr/bin/ranlib src/wui/libwui_chat_ui.a && : [2252/2312] : && /usr/local/bin/cmake -E rm -f src/wui/libwui_sound_options.a && /usr/bin/ar qc src/wui/libwui_sound_options.a src/wui/CMakeFiles/wui_sound_options.dir/sound_options.cc.o && /usr/bin/ranlib src/wui/libwui_sound_options.a && : [2253/2312] : && /usr/local/bin/cmake -E rm -f src/ui_fsmenu/libui_fsmenu.a && /usr/bin/ar qc src/ui_fsmenu/libui_fsmenu.a src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/about.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/contact.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/login_box.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/manager.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/packager.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/packager_box.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/progress.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/remote_interaction.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/rows_ui.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/addons/screenshot_upload.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaigndetails.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaigns.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/campaign_select.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/helpwindow.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/internet_lobby.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/keyboard_options.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_game.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_mpg.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/launch_spg.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/loadgame.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/login_box.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mapdetailsbox.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mapselect.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/main.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/menu.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mousewheel_options.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/mousewheel_report.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/multiplayersetupgroup.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/netsetup_lan.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/options.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/random_game.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/scenariodetails.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/scenario_select.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/singleplayerdropdown.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/singleplayersetupbox.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/tech_info.cc.o src/ui_fsmenu/CMakeFiles/ui_fsmenu.dir/training_wheel_options.cc.o && /usr/bin/ranlib src/ui_fsmenu/libui_fsmenu.a && : [2254/2312] : && /usr/local/bin/cmake -E rm -f src/ui_basic/libui_basic.a && /usr/bin/ar qc src/ui_basic/libui_basic.a src/ui_basic/CMakeFiles/ui_basic.dir/box.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/button.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/checkbox.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/color_chooser.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/dropdown.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/editbox.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/fileview_panel.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/icon.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/icongrid.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/listselect.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/messagebox.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/multilineeditbox.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/multilinetextarea.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/panel.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/progressbar.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/progresswindow.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/radiobutton.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/scrollbar.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/slider.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/spinbox.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/table.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/tabpanel.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/textarea.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/text_prompt.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/unique_window.cc.o src/ui_basic/CMakeFiles/ui_basic.dir/window.cc.o && /usr/bin/ranlib src/ui_basic/libui_basic.a && : [2255/2312] : && /usr/local/bin/cmake -E rm -f src/sound/libsound.a && /usr/bin/ar qc src/sound/libsound.a src/sound/CMakeFiles/sound.dir/fxset.cc.o src/sound/CMakeFiles/sound.dir/songset.cc.o src/sound/CMakeFiles/sound.dir/sound_handler.cc.o && /usr/bin/ranlib src/sound/libsound.a && : [2256/2312] : && /usr/local/bin/cmake -E rm -f src/scripting/libscripting_logic.a && /usr/bin/ar qc src/scripting/libscripting_logic.a src/scripting/CMakeFiles/scripting_logic.dir/factory.cc.o src/scripting/CMakeFiles/scripting_logic.dir/globals.cc.o src/scripting/CMakeFiles/scripting_logic.dir/logic.cc.o src/scripting/CMakeFiles/scripting_logic.dir/lua_bases.cc.o src/scripting/CMakeFiles/scripting_logic.dir/lua_editor.cc.o src/scripting/CMakeFiles/scripting_logic.dir/lua_game.cc.o src/scripting/CMakeFiles/scripting_logic.dir/lua_map.cc.o src/scripting/CMakeFiles/scripting_logic.dir/lua_root.cc.o src/scripting/CMakeFiles/scripting_logic.dir/lua_ui.cc.o src/scripting/CMakeFiles/scripting_logic.dir/persistence.cc.o && /usr/bin/ranlib src/scripting/libscripting_logic.a && : [2257/2312] : && /usr/local/bin/cmake -E rm -f src/scripting/libscripting_lua_interface.a && /usr/bin/ar qc src/scripting/libscripting_lua_interface.a src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_globals.cc.o src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_interface.cc.o src/scripting/CMakeFiles/scripting_lua_interface.dir/lua_path.cc.o src/scripting/CMakeFiles/scripting_lua_interface.dir/run_script.cc.o && /usr/bin/ranlib src/scripting/libscripting_lua_interface.a && : [2258/2312] : && /usr/local/bin/cmake -E rm -f src/scripting/libscripting_coroutine.a && /usr/bin/ar qc src/scripting/libscripting_coroutine.a src/scripting/CMakeFiles/scripting_coroutine.dir/lua_coroutine.cc.o && /usr/bin/ranlib src/scripting/libscripting_coroutine.a && : [2259/2312] : && /usr/local/bin/cmake -E rm -f src/scripting/libscripting_lua_table.a && /usr/bin/ar qc src/scripting/libscripting_lua_table.a src/scripting/CMakeFiles/scripting_lua_table.dir/lua_table.cc.o && /usr/bin/ranlib src/scripting/libscripting_lua_table.a && : [2260/2312] : && /usr/local/bin/cmake -E rm -f src/network/libnetwork.a && /usr/bin/ar qc src/network/libnetwork.a src/network/CMakeFiles/network.dir/bufferedconnection.cc.o src/network/CMakeFiles/network.dir/internet_gaming.cc.o src/network/CMakeFiles/network.dir/internet_gaming_messages.cc.o src/network/CMakeFiles/network.dir/gameclient.cc.o src/network/CMakeFiles/network.dir/gamehost.cc.o src/network/CMakeFiles/network.dir/host_game_settings_provider.cc.o src/network/CMakeFiles/network.dir/net_addons.cc.o src/network/CMakeFiles/network.dir/netclient.cc.o src/network/CMakeFiles/network.dir/netclientproxy.cc.o src/network/CMakeFiles/network.dir/nethost.cc.o src/network/CMakeFiles/network.dir/nethostproxy.cc.o src/network/CMakeFiles/network.dir/network.cc.o src/network/CMakeFiles/network.dir/network_gaming_messages.cc.o src/network/CMakeFiles/network.dir/network_lan_promotion.cc.o src/network/CMakeFiles/network.dir/network_player_settings_backend.cc.o src/network/CMakeFiles/network.dir/participantlist.cc.o && /usr/bin/ranlib src/network/libnetwork.a && : [2261/2312] : && /usr/local/bin/cmake -E rm -f src/map_io/libmap_io.a && /usr/bin/ar qc src/map_io/libmap_io.a src/map_io/CMakeFiles/map_io.dir/coords_profile.cc.o src/map_io/CMakeFiles/map_io.dir/map_allowed_building_types_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_allowed_worker_types_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_bob_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_building_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_buildingdata_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_elemental_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_flag_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_flagdata_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_heights_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_images.cc.o src/map_io/CMakeFiles/map_io.dir/map_node_ownership_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_object_loader.cc.o src/map_io/CMakeFiles/map_io.dir/map_object_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_object_saver.cc.o src/map_io/CMakeFiles/map_io.dir/map_objective_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_player_names_and_tribes_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_player_position_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_players_messages_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_players_view_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_port_spaces_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_resources_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_road_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_roaddata_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_saver.cc.o src/map_io/CMakeFiles/map_io.dir/map_scripting_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_terrain_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_version_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_waterway_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_waterwaydata_packet.cc.o src/map_io/CMakeFiles/map_io.dir/map_wincondition_packet.cc.o && /usr/bin/ranlib src/map_io/libmap_io.a && : [2262/2312] : && /usr/local/bin/cmake -E rm -f src/map_io/libmap_io_map_loader.a && /usr/bin/ar qc src/map_io/libmap_io_map_loader.a src/map_io/CMakeFiles/map_io_map_loader.dir/widelands_map_loader.cc.o src/map_io/CMakeFiles/map_io_map_loader.dir/s2map.cc.o && /usr/bin/ranlib src/map_io/libmap_io_map_loader.a && : [2263/2312] : && /usr/local/bin/cmake -E rm -f src/logic/map_objects/liblogic_map_objects.a && /usr/bin/ar qc src/logic/map_objects/liblogic_map_objects.a src/logic/map_objects/CMakeFiles/logic_map_objects.dir/backtrace.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/bob.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/buildcost.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/checkstep.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/descriptions.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/descriptions_compatibility_table.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findbob.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findimmovable.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/findnode.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/immovable.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/immovable_program.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/map_object.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/map_object_program.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/terrain_affinity.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/battle.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/building.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/building_settings.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/carrier.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/constructionsite.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/dismantlesite.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ferry.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/market.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/militarysite.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/partially_finished_building.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/production_program.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/productionsite.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/requirements.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/road_textures.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ship.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/soldier.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/trainingsite.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/tribe_descr.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/ware_descr.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/warehouse.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/warelist.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker_descr.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/tribes/worker_program.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/walkingdir.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/critter.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/map_gen.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/resource_description.cc.o src/logic/map_objects/CMakeFiles/logic_map_objects.dir/world/terrain_description.cc.o && /usr/bin/ranlib src/logic/map_objects/liblogic_map_objects.a && : [2264/2312] : && /usr/local/bin/cmake -E rm -f src/logic/map_objects/liblogic_tribe_basic_info.a && /usr/bin/ar qc src/logic/map_objects/liblogic_tribe_basic_info.a src/logic/map_objects/CMakeFiles/logic_tribe_basic_info.dir/tribes/tribe_basic_info.cc.o && /usr/bin/ranlib src/logic/map_objects/liblogic_tribe_basic_info.a && : [2265/2312] : && /usr/local/bin/cmake -E rm -f src/logic/map_objects/liblogic_map_objects_description_manager.a && /usr/bin/ar qc src/logic/map_objects/liblogic_map_objects_description_manager.a src/logic/map_objects/CMakeFiles/logic_map_objects_description_manager.dir/description_manager.cc.o && /usr/bin/ranlib src/logic/map_objects/liblogic_map_objects_description_manager.a && : [2266/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic.a && /usr/bin/ar qc src/logic/liblogic.a src/logic/CMakeFiles/logic.dir/ai_dna_handler.cc.o src/logic/CMakeFiles/logic.dir/editor_game_base.cc.o src/logic/CMakeFiles/logic.dir/game.cc.o src/logic/CMakeFiles/logic.dir/player.cc.o src/logic/CMakeFiles/logic.dir/playersmanager.cc.o src/logic/CMakeFiles/logic.dir/replay.cc.o src/logic/CMakeFiles/logic.dir/save_handler.cc.o && /usr/bin/ranlib src/logic/liblogic.a && : [2267/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_training_wheels.a && /usr/bin/ar qc src/logic/liblogic_training_wheels.a src/logic/CMakeFiles/logic_training_wheels.dir/training_wheels.cc.o && /usr/bin/ranlib src/logic/liblogic_training_wheels.a && : [2268/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_commands.a && /usr/bin/ar qc src/logic/liblogic_commands.a src/logic/CMakeFiles/logic_commands.dir/cmd_calculate_statistics.cc.o src/logic/CMakeFiles/logic_commands.dir/cmd_delete_message.cc.o src/logic/CMakeFiles/logic_commands.dir/cmd_incorporate.cc.o src/logic/CMakeFiles/logic_commands.dir/cmd_luacoroutine.cc.o src/logic/CMakeFiles/logic_commands.dir/cmd_luascript.cc.o src/logic/CMakeFiles/logic_commands.dir/cmd_queue.cc.o src/logic/CMakeFiles/logic_commands.dir/queue_cmd_factory.cc.o src/logic/CMakeFiles/logic_commands.dir/playercommand.cc.o && /usr/bin/ranlib src/logic/liblogic_commands.a && : [2269/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_map.a && /usr/bin/ar qc src/logic/liblogic_map.a src/logic/CMakeFiles/logic_map.dir/field.cc.o src/logic/CMakeFiles/logic_map.dir/map.cc.o src/logic/CMakeFiles/logic_map.dir/map_revision.cc.o src/logic/CMakeFiles/logic_map.dir/mapastar.cc.o src/logic/CMakeFiles/logic_map.dir/mapdifferenceregion.cc.o src/logic/CMakeFiles/logic_map.dir/mapfringeregion.cc.o src/logic/CMakeFiles/logic_map.dir/maphollowregion.cc.o src/logic/CMakeFiles/logic_map.dir/maptriangleregion.cc.o src/logic/CMakeFiles/logic_map.dir/path.cc.o src/logic/CMakeFiles/logic_map.dir/pathfield.cc.o && /usr/bin/ranlib src/logic/liblogic_map.a && : [2270/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_addons.a && /usr/bin/ar qc src/logic/liblogic_addons.a src/logic/CMakeFiles/logic_addons.dir/addons.cc.o src/logic/CMakeFiles/logic_addons.dir/mutable_addon.cc.o && /usr/bin/ranlib src/logic/liblogic_addons.a && : [2271/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_game_controller.a && /usr/bin/ar qc src/logic/liblogic_game_controller.a src/logic/CMakeFiles/logic_game_controller.dir/replay_game_controller.cc.o src/logic/CMakeFiles/logic_game_controller.dir/single_player_game_controller.cc.o && /usr/bin/ranlib src/logic/liblogic_game_controller.a && : [2272/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_single_player_game_settings.a && /usr/bin/ar qc src/logic/liblogic_single_player_game_settings.a src/logic/CMakeFiles/logic_single_player_game_settings.dir/single_player_game_settings_provider.cc.o && /usr/bin/ranlib src/logic/liblogic_single_player_game_settings.a && : [2273/2312] : && /usr/local/bin/cmake -E rm -f src/logic/liblogic_game_settings.a && /usr/bin/ar qc src/logic/liblogic_game_settings.a src/logic/CMakeFiles/logic_game_settings.dir/game_settings.cc.o && /usr/bin/ranlib src/logic/liblogic_game_settings.a && : [2274/2312] : && /usr/local/bin/cmake -E rm -f src/io/filesystem/libio_filesystem_illegal_filename_check.a && /usr/bin/ar qc src/io/filesystem/libio_filesystem_illegal_filename_check.a src/io/filesystem/CMakeFiles/io_filesystem_illegal_filename_check.dir/illegal_filename_check.cc.o && /usr/bin/ranlib src/io/filesystem/libio_filesystem_illegal_filename_check.a && : [2275/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/text/libgraphic_text.a && /usr/bin/ar qc src/graphic/text/libgraphic_text.a src/graphic/text/CMakeFiles/graphic_text.dir/bidi.cc.o src/graphic/text/CMakeFiles/graphic_text.dir/font_io.cc.o src/graphic/text/CMakeFiles/graphic_text.dir/font_set.cc.o src/graphic/text/CMakeFiles/graphic_text.dir/rt_parse.cc.o src/graphic/text/CMakeFiles/graphic_text.dir/rt_render.cc.o src/graphic/text/CMakeFiles/graphic_text.dir/rendered_text.cc.o src/graphic/text/CMakeFiles/graphic_text.dir/sdl_ttf_font.cc.o src/graphic/text/CMakeFiles/graphic_text.dir/textstream.cc.o && /usr/bin/ranlib src/graphic/text/libgraphic_text.a && : [2276/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/styles/libgraphic_styles.a && /usr/bin/ar qc src/graphic/styles/libgraphic_styles.a src/graphic/styles/CMakeFiles/graphic_styles.dir/button_style.cc.o src/graphic/styles/CMakeFiles/graphic_styles.dir/font_style.cc.o && /usr/bin/ranlib src/graphic/styles/libgraphic_styles.a && : [2277/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/animation/libgraphic_animation.a && /usr/bin/ar qc src/graphic/animation/libgraphic_animation.a src/graphic/animation/CMakeFiles/graphic_animation.dir/animation.cc.o src/graphic/animation/CMakeFiles/graphic_animation.dir/animation_manager.cc.o src/graphic/animation/CMakeFiles/graphic_animation.dir/diranimations.cc.o src/graphic/animation/CMakeFiles/graphic_animation.dir/nonpacked_animation.cc.o src/graphic/animation/CMakeFiles/graphic_animation.dir/spritesheet_animation.cc.o && /usr/bin/ranlib src/graphic/animation/libgraphic_animation.a && : [2278/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic.a && /usr/bin/ar qc src/graphic/libgraphic.a src/graphic/CMakeFiles/graphic.dir/graphic.cc.o src/graphic/CMakeFiles/graphic.dir/style_manager.cc.o src/graphic/CMakeFiles/graphic.dir/rendertarget.cc.o src/graphic/CMakeFiles/graphic.dir/road_segments.cc.o && /usr/bin/ranlib src/graphic/libgraphic.a && : [2279/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_functions.a && /usr/bin/ar qc src/graphic/libgraphic_functions.a src/graphic/CMakeFiles/graphic_functions.dir/graphic_functions.cc.o && /usr/bin/ranlib src/graphic/libgraphic_functions.a && : [2280/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_mouse_cursor.a && /usr/bin/ar qc src/graphic/libgraphic_mouse_cursor.a src/graphic/CMakeFiles/graphic_mouse_cursor.dir/mouse_cursor.cc.o && /usr/bin/ranlib src/graphic/libgraphic_mouse_cursor.a && : [2281/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_wordwrap.a && /usr/bin/ar qc src/graphic/libgraphic_wordwrap.a src/graphic/CMakeFiles/graphic_wordwrap.dir/wordwrap.cc.o && /usr/bin/ranlib src/graphic/libgraphic_wordwrap.a && : [2282/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_text_layout.a && /usr/bin/ar qc src/graphic/libgraphic_text_layout.a src/graphic/CMakeFiles/graphic_text_layout.dir/text_layout.cc.o && /usr/bin/ranlib src/graphic/libgraphic_text_layout.a && : [2283/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_fonthandler.a && /usr/bin/ar qc src/graphic/libgraphic_fonthandler.a src/graphic/CMakeFiles/graphic_fonthandler.dir/font_handler.cc.o && /usr/bin/ranlib src/graphic/libgraphic_fonthandler.a && : [2284/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_terrain_programs.a && /usr/bin/ar qc src/graphic/libgraphic_terrain_programs.a src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/grid_program.cc.o src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/road_program.cc.o src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/terrain_program.cc.o src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/dither_program.cc.o src/graphic/CMakeFiles/graphic_terrain_programs.dir/gl/workarea_program.cc.o && /usr/bin/ranlib src/graphic/libgraphic_terrain_programs.a && : [2285/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_fields_to_draw.a && /usr/bin/ar qc src/graphic/libgraphic_fields_to_draw.a src/graphic/CMakeFiles/graphic_fields_to_draw.dir/gl/fields_to_draw.cc.o && /usr/bin/ranlib src/graphic/libgraphic_fields_to_draw.a && : [2286/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_minimap_renderer.a && /usr/bin/ar qc src/graphic/libgraphic_minimap_renderer.a src/graphic/CMakeFiles/graphic_minimap_renderer.dir/minimap_renderer.cc.o && /usr/bin/ranlib src/graphic/libgraphic_minimap_renderer.a && : [2287/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_game_renderer.a && /usr/bin/ar qc src/graphic/libgraphic_game_renderer.a src/graphic/CMakeFiles/graphic_game_renderer.dir/game_renderer.cc.o && /usr/bin/ranlib src/graphic/libgraphic_game_renderer.a && : [2288/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_render_queue.a && /usr/bin/ar qc src/graphic/libgraphic_render_queue.a src/graphic/CMakeFiles/graphic_render_queue.dir/render_queue.cc.o && /usr/bin/ranlib src/graphic/libgraphic_render_queue.a && : [2289/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_draw_programs.a && /usr/bin/ar qc src/graphic/libgraphic_draw_programs.a src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/blit_program.cc.o src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/draw_line_program.cc.o src/graphic/CMakeFiles/graphic_draw_programs.dir/gl/fill_rect_program.cc.o && /usr/bin/ranlib src/graphic/libgraphic_draw_programs.a && : [2290/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_texture_atlas.a && /usr/bin/ar qc src/graphic/libgraphic_texture_atlas.a src/graphic/CMakeFiles/graphic_texture_atlas.dir/texture_atlas.cc.o && /usr/bin/ranlib src/graphic/libgraphic_texture_atlas.a && : [2291/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_surface.a && /usr/bin/ar qc src/graphic/libgraphic_surface.a src/graphic/CMakeFiles/graphic_surface.dir/screen.cc.o src/graphic/CMakeFiles/graphic_surface.dir/surface.cc.o src/graphic/CMakeFiles/graphic_surface.dir/texture.cc.o && /usr/bin/ranlib src/graphic/libgraphic_surface.a && : [2292/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_gl_utils.a && /usr/bin/ar qc src/graphic/libgraphic_gl_utils.a src/graphic/CMakeFiles/graphic_gl_utils.dir/gl/initialize.cc.o src/graphic/CMakeFiles/graphic_gl_utils.dir/gl/utils.cc.o && /usr/bin/ranlib src/graphic/libgraphic_gl_utils.a && : [2293/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_image_cache.a && /usr/bin/ar qc src/graphic/libgraphic_image_cache.a src/graphic/CMakeFiles/graphic_image_cache.dir/image_cache.cc.o && /usr/bin/ranlib src/graphic/libgraphic_image_cache.a && : [2294/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_image_io.a && /usr/bin/ar qc src/graphic/libgraphic_image_io.a src/graphic/CMakeFiles/graphic_image_io.dir/image_io.cc.o && /usr/bin/ranlib src/graphic/libgraphic_image_io.a && : [2295/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_build_texture_atlas.a && /usr/bin/ar qc src/graphic/libgraphic_build_texture_atlas.a src/graphic/CMakeFiles/graphic_build_texture_atlas.dir/build_texture_atlas.cc.o && /usr/bin/ranlib src/graphic/libgraphic_build_texture_atlas.a && : [2296/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_playercolor.a && /usr/bin/ar qc src/graphic/libgraphic_playercolor.a src/graphic/CMakeFiles/graphic_playercolor.dir/playercolor.cc.o && /usr/bin/ranlib src/graphic/libgraphic_playercolor.a && : [2297/2312] : && /usr/local/bin/cmake -E rm -f src/graphic/libgraphic_toolbar_imageset.a && /usr/bin/ar qc src/graphic/libgraphic_toolbar_imageset.a src/graphic/CMakeFiles/graphic_toolbar_imageset.dir/toolbar_imageset.cc.o && /usr/bin/ranlib src/graphic/libgraphic_toolbar_imageset.a && : [2298/2312] : && /usr/local/bin/cmake -E rm -f src/game_io/libgame_io.a && /usr/bin/ar qc src/game_io/libgame_io.a src/game_io/CMakeFiles/game_io.dir/game_cmd_queue_packet.cc.o src/game_io/CMakeFiles/game_io.dir/game_class_packet.cc.o src/game_io/CMakeFiles/game_io.dir/game_interactive_player_packet.cc.o src/game_io/CMakeFiles/game_io.dir/game_player_ai_persistent_packet.cc.o src/game_io/CMakeFiles/game_io.dir/game_loader.cc.o src/game_io/CMakeFiles/game_io.dir/game_map_packet.cc.o src/game_io/CMakeFiles/game_io.dir/game_player_economies_packet.cc.o src/game_io/CMakeFiles/game_io.dir/game_player_info_packet.cc.o src/game_io/CMakeFiles/game_io.dir/game_preload_packet.cc.o src/game_io/CMakeFiles/game_io.dir/game_saver.cc.o && /usr/bin/ranlib src/game_io/libgame_io.a && : [2299/2312] : && /usr/local/bin/cmake -E rm -f src/editor/libeditor.a && /usr/bin/ar qc src/editor/libeditor.a src/editor/CMakeFiles/editor.dir/editorinteractive.cc.o src/editor/CMakeFiles/editor.dir/editor_category.cc.o src/editor/CMakeFiles/editor.dir/map_generator.cc.o src/editor/CMakeFiles/editor.dir/tools/decrease_height_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/decrease_resources_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/delete_critter_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/delete_immovable_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/draw_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/history.cc.o src/editor/CMakeFiles/editor.dir/tools/increase_height_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/increase_resources_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/info_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/noise_height_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/place_critter_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/place_immovable_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/resize_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/set_height_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/set_origin_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/set_port_space_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/set_resources_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/set_starting_pos_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/set_terrain_tool.cc.o src/editor/CMakeFiles/editor.dir/tools/tool_conf.cc.o src/editor/CMakeFiles/editor.dir/tools/toolhistory_tool.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/field_info_window.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/help.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_load_map.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_load_or_save_map.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_map_options.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_new_map.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_random_map.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_save_map.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/main_menu_save_map_make_directory.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/map_size_box.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/player_menu.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/tool_change_height_options_menu.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/tool_change_resources_options_menu.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/tool_noise_height_options_menu.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/tool_options_menu.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/tool_place_critter_options_menu.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/tool_place_immovable_options_menu.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/tool_resize_options_menu.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/tool_set_terrain_options_menu.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/tool_toolhistory_options_menu.cc.o src/editor/CMakeFiles/editor.dir/ui_menus/toolsize_menu.cc.o && /usr/bin/ranlib src/editor/libeditor.a && : [2300/2312] : && /usr/local/bin/cmake -E rm -f src/economy/libeconomy.a && /usr/bin/ar qc src/economy/libeconomy.a src/economy/CMakeFiles/economy.dir/cmd_call_economy_balance.cc.o src/economy/CMakeFiles/economy.dir/economy.cc.o src/economy/CMakeFiles/economy.dir/economy_data_packet.cc.o src/economy/CMakeFiles/economy.dir/expedition_bootstrap.cc.o src/economy/CMakeFiles/economy.dir/ferry_fleet.cc.o src/economy/CMakeFiles/economy.dir/flag.cc.o src/economy/CMakeFiles/economy.dir/idleworkersupply.cc.o src/economy/CMakeFiles/economy.dir/portdock.cc.o src/economy/CMakeFiles/economy.dir/request.cc.o src/economy/CMakeFiles/economy.dir/roadbase.cc.o src/economy/CMakeFiles/economy.dir/road.cc.o src/economy/CMakeFiles/economy.dir/route.cc.o src/economy/CMakeFiles/economy.dir/routeastar.cc.o src/economy/CMakeFiles/economy.dir/router.cc.o src/economy/CMakeFiles/economy.dir/ship_fleet.cc.o src/economy/CMakeFiles/economy.dir/shippingitem.cc.o src/economy/CMakeFiles/economy.dir/shipping_schedule.cc.o src/economy/CMakeFiles/economy.dir/supply_list.cc.o src/economy/CMakeFiles/economy.dir/transfer.cc.o src/economy/CMakeFiles/economy.dir/ware_instance.cc.o src/economy/CMakeFiles/economy.dir/input_queue.cc.o src/economy/CMakeFiles/economy.dir/ware_priority.cc.o src/economy/CMakeFiles/economy.dir/wares_queue.cc.o src/economy/CMakeFiles/economy.dir/waterway.cc.o src/economy/CMakeFiles/economy.dir/workers_queue.cc.o && /usr/bin/ranlib src/economy/libeconomy.a && : [2301/2312] : && /usr/local/bin/cmake -E rm -f src/ai/libai.a && /usr/bin/ar qc src/ai/libai.a src/ai/CMakeFiles/ai.dir/ai_help_structs.cc.o src/ai/CMakeFiles/ai.dir/computer_player.cc.o src/ai/CMakeFiles/ai.dir/defaultai_seafaring.cc.o src/ai/CMakeFiles/ai.dir/defaultai_warfare.cc.o src/ai/CMakeFiles/ai.dir/defaultai.cc.o && /usr/bin/ranlib src/ai/libai.a && : [2302/2312] : && /usr/local/bin/cmake -E rm -f src/ai/libai_hints.a && /usr/bin/ar qc src/ai/libai_hints.a src/ai/CMakeFiles/ai_hints.dir/ai_hints.cc.o && /usr/bin/ranlib src/ai/libai_hints.a && : [2303/2312] : && /usr/local/bin/cmake -E rm -f src/libwidelands_options.a && /usr/bin/ar qc src/libwidelands_options.a src/CMakeFiles/widelands_options.dir/wlapplication_options.cc.o src/CMakeFiles/widelands_options.dir/wlapplication_mousewheel_options.cc.o && /usr/bin/ranlib src/libwidelands_options.a && : [2304/2312] : && /usr/local/bin/cmake -E rm -f src/libwidelands_ball_of_mud.a && /usr/bin/ar qc src/libwidelands_ball_of_mud.a src/CMakeFiles/widelands_ball_of_mud.dir/wlapplication.cc.o src/CMakeFiles/widelands_ball_of_mud.dir/wlapplication_messages.cc.o && /usr/bin/ranlib src/libwidelands_ball_of_mud.a && : [2305/2312] : && /pobj/widelands-1.1/bin/c++ -O2 -pipe -DNDEBUG src/CMakeFiles/widelands.dir/main.cc.o -o src/widelands -Wl,-z,origin,-rpath,/usr/X11R6/lib:/usr/local/lib: /usr/X11R6/lib/libGL.so.19.1 src/base/libbase_exceptions.a src/libwidelands_ball_of_mud.a src/libbuild_info.a src/editor/libeditor.a src/graphic/libgraphic.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_mouse_cursor.a src/graphic/text/libgraphic_text.a src/logic/liblogic.a src/logic/liblogic_addons.a src/logic/liblogic_game_controller.a src/logic/liblogic_game_settings.a src/logic/liblogic_map.a src/logic/liblogic_single_player_game_settings.a src/map_io/libmap_io_map_loader.a src/network/libnetwork.a src/sound/libsound.a src/ui_basic/libui_basic.a src/ui_fsmenu/libui_fsmenu.a src/libwidelands_options.a src/wui/libwui.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_text_layout.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/map_objects/liblogic_map_objects.a src/logic/map_objects/liblogic_tribe_basic_info.a src/map_io/libmap_io.a src/scripting/libscripting_lua_interface.a src/scripting/libscripting_lua_table.a src/wui/libwui_common_mapdetails.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/economy/libeconomy.a src/game_io/libgame_io.a src/logic/liblogic_commands.a src/logic/liblogic_training_wheels.a src/scripting/libscripting_logic.a src/wui/libwui_game_tips.a src/ai/libai.a src/graphic/libgraphic_functions.a src/graphic/libgraphic_wordwrap.a src/scripting/libscripting_coroutine.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_common_suggested_teams.a src/wui/libwui_sound_options.a src/graphic/libgraphic_game_renderer.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_toolbar_imageset.a src/wui/libwui_mapview.a src/wui/libwui_mapview_pixelfunctions.a src/wui/libwui_quicknavigation.a src/wui/libwui_waresdisplay.a src/ai/libai_hints.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/libwidelands_ball_of_mud.a src/editor/libeditor.a src/graphic/libgraphic.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_mouse_cursor.a src/graphic/text/libgraphic_text.a src/logic/liblogic.a src/logic/liblogic_addons.a src/logic/liblogic_game_controller.a src/logic/liblogic_game_settings.a src/logic/liblogic_map.a src/logic/liblogic_single_player_game_settings.a src/map_io/libmap_io_map_loader.a src/network/libnetwork.a src/sound/libsound.a src/ui_basic/libui_basic.a src/ui_fsmenu/libui_fsmenu.a src/libwidelands_options.a src/wui/libwui.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_text_layout.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/map_objects/liblogic_map_objects.a src/logic/map_objects/liblogic_tribe_basic_info.a src/map_io/libmap_io.a src/scripting/libscripting_lua_interface.a src/scripting/libscripting_lua_table.a src/wui/libwui_common_mapdetails.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/economy/libeconomy.a src/game_io/libgame_io.a src/logic/liblogic_commands.a src/logic/liblogic_training_wheels.a src/scripting/libscripting_logic.a src/wui/libwui_game_tips.a src/ai/libai.a src/graphic/libgraphic_functions.a src/graphic/libgraphic_wordwrap.a src/scripting/libscripting_coroutine.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_common_suggested_teams.a src/wui/libwui_sound_options.a src/graphic/libgraphic_game_renderer.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_toolbar_imageset.a src/wui/libwui_mapview.a src/wui/libwui_mapview_pixelfunctions.a src/wui/libwui_quicknavigation.a src/wui/libwui_waresdisplay.a src/ai/libai_hints.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/libwidelands_ball_of_mud.a src/editor/libeditor.a src/graphic/libgraphic.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_mouse_cursor.a src/graphic/text/libgraphic_text.a src/logic/liblogic.a src/logic/liblogic_addons.a src/logic/liblogic_game_controller.a src/logic/liblogic_game_settings.a src/logic/liblogic_map.a src/logic/liblogic_single_player_game_settings.a src/map_io/libmap_io_map_loader.a src/network/libnetwork.a src/sound/libsound.a src/ui_basic/libui_basic.a src/ui_fsmenu/libui_fsmenu.a src/libwidelands_options.a src/wui/libwui.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_text_layout.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/map_objects/liblogic_map_objects.a src/logic/map_objects/liblogic_tribe_basic_info.a src/map_io/libmap_io.a src/scripting/libscripting_lua_interface.a src/scripting/libscripting_lua_table.a src/wui/libwui_common_mapdetails.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/economy/libeconomy.a src/game_io/libgame_io.a src/logic/liblogic_commands.a src/logic/liblogic_training_wheels.a src/scripting/libscripting_logic.a src/wui/libwui_game_tips.a src/ai/libai.a src/graphic/libgraphic_functions.a src/graphic/libgraphic_wordwrap.a src/scripting/libscripting_coroutine.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_common_suggested_teams.a src/wui/libwui_sound_options.a src/graphic/libgraphic_game_renderer.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_toolbar_imageset.a src/wui/libwui_mapview.a src/wui/libwui_mapview_pixelfunctions.a src/wui/libwui_quicknavigation.a src/wui/libwui_waresdisplay.a src/ai/libai_hints.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/libwidelands_ball_of_mud.a src/editor/libeditor.a src/graphic/libgraphic.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_mouse_cursor.a src/graphic/text/libgraphic_text.a src/logic/liblogic.a src/logic/liblogic_addons.a src/logic/liblogic_game_controller.a src/logic/liblogic_game_settings.a src/logic/liblogic_map.a src/logic/liblogic_single_player_game_settings.a src/map_io/libmap_io_map_loader.a src/network/libnetwork.a src/sound/libsound.a src/ui_basic/libui_basic.a src/ui_fsmenu/libui_fsmenu.a src/libwidelands_options.a src/wui/libwui.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_text_layout.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/map_objects/liblogic_map_objects.a src/logic/map_objects/liblogic_tribe_basic_info.a src/map_io/libmap_io.a src/scripting/libscripting_lua_interface.a src/scripting/libscripting_lua_table.a src/wui/libwui_common_mapdetails.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/economy/libeconomy.a src/game_io/libgame_io.a src/logic/liblogic_commands.a src/logic/liblogic_training_wheels.a src/scripting/libscripting_logic.a src/wui/libwui_game_tips.a src/ai/libai.a src/graphic/libgraphic_functions.a src/graphic/libgraphic_wordwrap.a src/scripting/libscripting_coroutine.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_common_suggested_teams.a src/wui/libwui_sound_options.a src/graphic/libgraphic_game_renderer.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_toolbar_imageset.a src/wui/libwui_mapview.a src/wui/libwui_mapview_pixelfunctions.a src/wui/libwui_quicknavigation.a src/wui/libwui_waresdisplay.a src/ai/libai_hints.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/libwidelands_ball_of_mud.a src/editor/libeditor.a src/graphic/libgraphic.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_mouse_cursor.a src/graphic/text/libgraphic_text.a src/logic/liblogic.a src/logic/liblogic_addons.a src/logic/liblogic_game_controller.a src/logic/liblogic_game_settings.a src/logic/liblogic_map.a src/logic/liblogic_single_player_game_settings.a src/map_io/libmap_io_map_loader.a src/network/libnetwork.a src/sound/libsound.a src/ui_basic/libui_basic.a src/ui_fsmenu/libui_fsmenu.a src/libwidelands_options.a src/wui/libwui.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_text_layout.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/map_objects/liblogic_map_objects.a src/logic/map_objects/liblogic_tribe_basic_info.a src/map_io/libmap_io.a src/scripting/libscripting_lua_interface.a src/scripting/libscripting_lua_table.a src/wui/libwui_common_mapdetails.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/economy/libeconomy.a src/game_io/libgame_io.a src/logic/liblogic_commands.a src/logic/liblogic_training_wheels.a src/scripting/libscripting_logic.a src/wui/libwui_game_tips.a src/ai/libai.a src/graphic/libgraphic_functions.a src/graphic/libgraphic_wordwrap.a src/scripting/libscripting_coroutine.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_common_suggested_teams.a src/wui/libwui_sound_options.a src/graphic/libgraphic_game_renderer.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_toolbar_imageset.a src/wui/libwui_mapview.a src/wui/libwui_mapview_pixelfunctions.a src/wui/libwui_quicknavigation.a src/wui/libwui_waresdisplay.a src/ai/libai_hints.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a /usr/lib/libexecinfo.so.3.0 /usr/local/lib/libSDL2_ttf.so.0.1 src/base/libbase_md5.a /usr/local/lib/libSDL2_mixer.so.1.1 src/base/libbase_utf8.a src/third_party/libthird_party_sha1.a src/logic/liblogic_generic_save_handler.a src/graphic/libgraphic_sdl_utils.a src/ui_basic/libui_basic_loading_message.a src/sound/libnote_sound.a src/sound/libsound_constants.a /usr/local/lib/libGLEW.so.9.0 /usr/local/lib/libpng.so.18.0 /usr/local/lib/libSDL2_image.so.1.1 src/base/libbase_scoped_timer.a src/logic/liblogic_widelands_geometry_io.a src/io/libio_profile.a src/logic/liblogic_objectives.a src/scripting/libscripting_luna.a src/base/libbase_random.a src/graphic/libgraphic_align.a src/graphic/libgraphic_color.a /usr/local/lib/libicuuc.so.22.2 /usr/local/lib/libicudata.so.22.2 src/scripting/libscripting_errors.a src/scripting/libscripting_base.a src/third_party/libthird_party_eris.a src/chat/libchat.a src/base/libbase_time_string.a src/base/libbase_math.a src/logic/liblogic_exceptions.a src/logic/map_objects/liblogic_map_object_type.a src/logic/liblogic_widelands_geometry.a src/base/libbase_geometry.a src/base/libbase.a src/io/filesystem/libio_filesystem.a src/base/libbase_times.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/io/filesystem/libio_filesystem.a src/base/libbase_times.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/io/filesystem/libio_filesystem.a src/base/libbase_times.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/io/filesystem/libio_filesystem.a src/base/libbase_times.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/io/filesystem/libio_filesystem.a src/base/libbase_times.a src/notifications/libnotifications.a src/io/libio_fileread.a src/libbuild_info.a src/logic/liblogic_filesystem_constants.a /usr/local/lib/libintl.so.8.0 src/third_party/libthird_party_gettext.a src/third_party/libthird_party_minizip.a /usr/lib/libz.so.7.0 src/io/libio_stream.a /usr/local/lib/libSDL2main.a /usr/local/lib/libSDL2.so.0.15 -lpthread src/logic/map_objects/liblogic_map_objects_description_maintainer.a src/base/libbase_exceptions.a src/base/libbase_macros.a src/logic/liblogic_constants.a src/wui/libwui_mapview_pixelconstants.a /usr/X11R6/lib/libGL.so.19.1 -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : /usr/X11R6/lib/libGL.so.19.1: warning: rand() may return deterministic values, is that what you want? src/network/libnetwork.a(network.cc.o): In function `asio::detail::socket_ops::inet_ntop(int, void const*, char*, unsigned long, unsigned long, std::__1::error_code&)': network.cc:(.text._ZN4asio6detail10socket_ops9inet_ntopEiPKvPcmmRNSt3__110error_codeE[_ZN4asio6detail10socket_ops9inet_ntopEiPKvPcmmRNSt3__110error_codeE]+0x1e8): warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/libSDL2_ttf.so.0.1: warning: strcpy() is almost always misused, please use strlcpy() network.cc:(.text._ZN4asio6detail10socket_ops9inet_ntopEiPKvPcmmRNSt3__110error_codeE[_ZN4asio6detail10socket_ops9inet_ntopEiPKvPcmmRNSt3__110error_codeE]+0x1d8): warning: sprintf() is often misused, please use snprintf() /usr/X11R6/lib/libGL.so.19.1: warning: random() may return deterministic values, is that what you want? /usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. [2306/2312] : && /pobj/widelands-1.1/bin/c++ -O2 -pipe -DNDEBUG src/ai/test/CMakeFiles/test_ai.dir/ai_test_main.cc.o src/ai/test/CMakeFiles/test_ai.dir/test_ai.cc.o src/ai/test/CMakeFiles/test_ai.dir/test_ga.cc.o -o src/ai/test/test_ai -Wl,-z,origin,-rpath,/usr/X11R6/lib:/usr/local/lib /usr/X11R6/lib/libGL.so.19.1 /usr/local/lib/libSDL2.so.0.15 src/base/libbase_test.a src/ai/libai.a src/ai/libai_hints.a src/economy/libeconomy.a src/logic/liblogic.a src/logic/liblogic_commands.a src/logic/liblogic_game_controller.a src/logic/liblogic_map.a src/logic/map_objects/liblogic_map_objects.a src/scripting/libscripting_lua_table.a src/graphic/libgraphic.a src/map_io/libmap_io.a src/editor/libeditor.a src/game_io/libgame_io.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/logic/liblogic_addons.a src/logic/liblogic_game_settings.a src/logic/map_objects/liblogic_tribe_basic_info.a src/logic/liblogic_training_wheels.a src/map_io/libmap_io_map_loader.a src/scripting/libscripting_logic.a src/scripting/libscripting_lua_interface.a src/sound/libsound.a src/ui_basic/libui_basic.a src/libwidelands_options.a src/wui/libwui.a src/wui/libwui_game_tips.a src/graphic/libgraphic_text_layout.a src/scripting/libscripting_coroutine.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_toolbar_imageset.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_mouse_cursor.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/liblogic_single_player_game_settings.a src/wui/libwui_common_mapdetails.a src/wui/libwui_mapview.a src/wui/libwui_mapview_pixelfunctions.a src/graphic/libgraphic_functions.a src/graphic/text/libgraphic_text.a src/graphic/libgraphic_wordwrap.a src/libwidelands_ball_of_mud.a src/graphic/libgraphic_game_renderer.a src/network/libnetwork.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_quicknavigation.a src/wui/libwui_sound_options.a src/wui/libwui_waresdisplay.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/wui/libwui_common_suggested_teams.a src/ui_fsmenu/libui_fsmenu.a src/ai/libai.a src/ai/libai_hints.a src/economy/libeconomy.a src/logic/liblogic.a src/logic/liblogic_commands.a src/logic/liblogic_game_controller.a src/logic/liblogic_map.a src/logic/map_objects/liblogic_map_objects.a src/scripting/libscripting_lua_table.a src/graphic/libgraphic.a src/map_io/libmap_io.a src/editor/libeditor.a src/game_io/libgame_io.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/logic/liblogic_addons.a src/logic/liblogic_game_settings.a src/logic/map_objects/liblogic_tribe_basic_info.a src/logic/liblogic_training_wheels.a src/map_io/libmap_io_map_loader.a src/scripting/libscripting_logic.a src/scripting/libscripting_lua_interface.a src/sound/libsound.a src/ui_basic/libui_basic.a src/libwidelands_options.a src/wui/libwui.a src/wui/libwui_game_tips.a src/graphic/libgraphic_text_layout.a src/scripting/libscripting_coroutine.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_toolbar_imageset.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_mouse_cursor.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/liblogic_single_player_game_settings.a src/wui/libwui_common_mapdetails.a src/wui/libwui_mapview.a src/wui/libwui_mapview_pixelfunctions.a src/graphic/libgraphic_functions.a src/graphic/text/libgraphic_text.a src/graphic/libgraphic_wordwrap.a src/libwidelands_ball_of_mud.a src/graphic/libgraphic_game_renderer.a src/network/libnetwork.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_quicknavigation.a src/wui/libwui_sound_options.a src/wui/libwui_waresdisplay.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/wui/libwui_common_suggested_teams.a src/ui_fsmenu/libui_fsmenu.a src/ai/libai.a src/ai/libai_hints.a src/economy/libeconomy.a src/logic/liblogic.a src/logic/liblogic_commands.a src/logic/liblogic_game_controller.a src/logic/liblogic_map.a src/logic/map_objects/liblogic_map_objects.a src/scripting/libscripting_lua_table.a src/graphic/libgraphic.a src/map_io/libmap_io.a src/editor/libeditor.a src/game_io/libgame_io.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/logic/liblogic_addons.a src/logic/liblogic_game_settings.a src/logic/map_objects/liblogic_tribe_basic_info.a src/logic/liblogic_training_wheels.a src/map_io/libmap_io_map_loader.a src/scripting/libscripting_logic.a src/scripting/libscripting_lua_interface.a src/sound/libsound.a src/ui_basic/libui_basic.a src/libwidelands_options.a src/wui/libwui.a src/wui/libwui_game_tips.a src/graphic/libgraphic_text_layout.a src/scripting/libscripting_coroutine.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_toolbar_imageset.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_mouse_cursor.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/liblogic_single_player_game_settings.a src/wui/libwui_common_mapdetails.a src/wui/libwui_mapview.a src/wui/libwui_mapview_pixelfunctions.a src/graphic/libgraphic_functions.a src/graphic/text/libgraphic_text.a src/graphic/libgraphic_wordwrap.a src/libwidelands_ball_of_mud.a src/graphic/libgraphic_game_renderer.a src/network/libnetwork.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_quicknavigation.a src/wui/libwui_sound_options.a src/wui/libwui_waresdisplay.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/wui/libwui_common_suggested_teams.a src/ui_fsmenu/libui_fsmenu.a src/ai/libai.a src/ai/libai_hints.a src/economy/libeconomy.a src/logic/liblogic.a src/logic/liblogic_commands.a src/logic/liblogic_game_controller.a src/logic/liblogic_map.a src/logic/map_objects/liblogic_map_objects.a src/scripting/libscripting_lua_table.a src/graphic/libgraphic.a src/map_io/libmap_io.a src/editor/libeditor.a src/game_io/libgame_io.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/logic/liblogic_addons.a src/logic/liblogic_game_settings.a src/logic/map_objects/liblogic_tribe_basic_info.a src/logic/liblogic_training_wheels.a src/map_io/libmap_io_map_loader.a src/scripting/libscripting_logic.a src/scripting/libscripting_lua_interface.a src/sound/libsound.a src/ui_basic/libui_basic.a src/libwidelands_options.a src/wui/libwui.a src/wui/libwui_game_tips.a src/graphic/libgraphic_text_layout.a src/scripting/libscripting_coroutine.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_toolbar_imageset.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_mouse_cursor.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/liblogic_single_player_game_settings.a src/wui/libwui_common_mapdetails.a src/wui/libwui_mapview.a src/wui/libwui_mapview_pixelfunctions.a src/graphic/libgraphic_functions.a src/graphic/text/libgraphic_text.a src/graphic/libgraphic_wordwrap.a src/libwidelands_ball_of_mud.a src/graphic/libgraphic_game_renderer.a src/network/libnetwork.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_quicknavigation.a src/wui/libwui_sound_options.a src/wui/libwui_waresdisplay.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/wui/libwui_common_suggested_teams.a src/ui_fsmenu/libui_fsmenu.a src/ai/libai.a src/ai/libai_hints.a src/economy/libeconomy.a src/logic/liblogic.a src/logic/liblogic_commands.a src/logic/liblogic_game_controller.a src/logic/liblogic_map.a src/logic/map_objects/liblogic_map_objects.a src/scripting/libscripting_lua_table.a src/graphic/libgraphic.a src/map_io/libmap_io.a src/editor/libeditor.a src/game_io/libgame_io.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/logic/liblogic_addons.a src/logic/liblogic_game_settings.a src/logic/map_objects/liblogic_tribe_basic_info.a src/logic/liblogic_training_wheels.a src/map_io/libmap_io_map_loader.a src/scripting/libscripting_logic.a src/scripting/libscripting_lua_interface.a src/sound/libsound.a src/ui_basic/libui_basic.a src/libwidelands_options.a src/wui/libwui.a src/wui/libwui_game_tips.a src/graphic/libgraphic_text_layout.a src/scripting/libscripting_coroutine.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_toolbar_imageset.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_mouse_cursor.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/liblogic_single_player_game_settings.a src/wui/libwui_common_mapdetails.a src/wui/libwui_mapview.a src/wui/libwui_mapview_pixelfunctions.a src/graphic/libgraphic_functions.a src/graphic/text/libgraphic_text.a src/graphic/libgraphic_wordwrap.a src/libwidelands_ball_of_mud.a src/graphic/libgraphic_game_renderer.a src/network/libnetwork.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_quicknavigation.a src/wui/libwui_sound_options.a src/wui/libwui_waresdisplay.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/wui/libwui_common_suggested_teams.a src/ui_fsmenu/libui_fsmenu.a src/ui_basic/libui_basic_loading_message.a src/logic/liblogic_widelands_geometry_io.a src/scripting/libscripting_luna.a /usr/local/lib/libSDL2_mixer.so.1.1 src/base/libbase_scoped_timer.a src/base/libbase_utf8.a src/logic/liblogic_generic_save_handler.a src/logic/liblogic_objectives.a src/scripting/libscripting_errors.a src/scripting/libscripting_base.a src/third_party/libthird_party_eris.a src/sound/libnote_sound.a src/sound/libsound_constants.a /usr/local/lib/libpng.so.18.0 /usr/local/lib/libSDL2_image.so.1.1 src/logic/map_objects/liblogic_map_object_type.a /usr/local/lib/libGLEW.so.9.0 src/graphic/libgraphic_sdl_utils.a src/graphic/libgraphic_color.a src/graphic/libgraphic_align.a /usr/local/lib/libicuuc.so.22.2 /usr/local/lib/libicudata.so.22.2 src/logic/liblogic_exceptions.a /usr/local/lib/libSDL2_ttf.so.0.1 /usr/lib/libexecinfo.so.3.0 src/base/libbase_md5.a src/base/libbase_math.a src/chat/libchat.a src/base/libbase_time_string.a src/logic/liblogic_widelands_geometry.a src/wui/libwui_mapview_pixelconstants.a src/logic/map_objects/liblogic_map_objects_description_maintainer.a src/logic/liblogic_constants.a src/base/libbase_random.a src/io/libio_profile.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a src/base/libbase.a src/base/libbase_times.a src/io/filesystem/libio_filesystem.a src/notifications/libnotifications.a src/io/libio_fileread.a /usr/local/lib/libintl.so.8.0 src/libbuild_info.a src/logic/liblogic_filesystem_constants.a src/third_party/libthird_party_gettext.a src/third_party/libthird_party_minizip.a /usr/lib/libz.so.7.0 src/io/libio_stream.a src/base/libbase_exceptions.a src/base/libbase_macros.a /usr/local/lib/libSDL2main.a /usr/local/lib/libSDL2.so.0.15 -lpthread src/base/libbase_geometry.a src/third_party/libthird_party_sha1.a /usr/X11R6/lib/libGL.so.19.1 -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : /usr/X11R6/lib/libGL.so.19.1: warning: rand() may return deterministic values, is that what you want? src/network/libnetwork.a(netclient.cc.o): In function `asio::detail::socket_ops::inet_ntop(int, void const*, char*, unsigned long, unsigned long, std::__1::error_code&)': netclient.cc:(.text._ZN4asio6detail10socket_ops9inet_ntopEiPKvPcmmRNSt3__110error_codeE[_ZN4asio6detail10socket_ops9inet_ntopEiPKvPcmmRNSt3__110error_codeE]+0x1e8): warning: strcat() is almost always misused, please use strlcat() src/third_party/libthird_party_eris.a(lobject.c.o): In function `luaO_str2num': lobject.c:(.text+0xc08): warning: strcpy() is almost always misused, please use strlcpy() src/map_io/libmap_io.a(coords_profile.cc.o): In function `Widelands::set_coords(std::__1::basic_string, std::__1::allocator > const&, Widelands::Coords const&, Section*)': coords_profile.cc:(.text+0x6c): warning: sprintf() is often misused, please use snprintf() /usr/X11R6/lib/libGL.so.19.1: warning: random() may return deterministic values, is that what you want? /usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. [2307/2312] : && /pobj/widelands-1.1/bin/c++ -O2 -pipe -DNDEBUG src/economy/test/CMakeFiles/test_economy.dir/economy_test_main.cc.o src/economy/test/CMakeFiles/test_economy.dir/test_road.cc.o src/economy/test/CMakeFiles/test_economy.dir/test_routing.cc.o -o src/economy/test/test_economy -Wl,-z,origin,-rpath,/usr/X11R6/lib:/usr/local/lib /usr/X11R6/lib/libGL.so.19.1 /usr/local/lib/libSDL2.so.0.15 src/base/libbase_macros.a src/base/libbase_test.a src/economy/libeconomy.a src/io/filesystem/libio_filesystem.a src/logic/liblogic.a src/logic/map_objects/liblogic_map_objects.a src/logic/liblogic_widelands_geometry.a src/graphic/libgraphic.a src/logic/liblogic_commands.a src/logic/liblogic_map.a src/map_io/libmap_io.a src/editor/libeditor.a src/game_io/libgame_io.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/logic/liblogic_addons.a src/logic/liblogic_game_controller.a src/logic/liblogic_game_settings.a src/logic/map_objects/liblogic_tribe_basic_info.a src/logic/liblogic_training_wheels.a src/map_io/libmap_io_map_loader.a src/scripting/libscripting_logic.a src/scripting/libscripting_lua_interface.a src/scripting/libscripting_lua_table.a src/sound/libsound.a src/ui_basic/libui_basic.a src/libwidelands_options.a src/wui/libwui.a src/wui/libwui_game_tips.a src/ai/libai_hints.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_text_layout.a src/graphic/libgraphic_toolbar_imageset.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/scripting/libscripting_coroutine.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_mouse_cursor.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/liblogic_single_player_game_settings.a src/wui/libwui_common_mapdetails.a src/wui/libwui_mapview.a src/ai/libai.a src/wui/libwui_mapview_pixelfunctions.a src/graphic/libgraphic_functions.a src/graphic/text/libgraphic_text.a src/graphic/libgraphic_wordwrap.a src/libwidelands_ball_of_mud.a src/graphic/libgraphic_game_renderer.a src/network/libnetwork.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_quicknavigation.a src/wui/libwui_sound_options.a src/wui/libwui_waresdisplay.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/wui/libwui_common_suggested_teams.a src/ui_fsmenu/libui_fsmenu.a src/economy/libeconomy.a src/logic/liblogic.a src/logic/map_objects/liblogic_map_objects.a src/graphic/libgraphic.a src/logic/liblogic_commands.a src/logic/liblogic_map.a src/map_io/libmap_io.a src/editor/libeditor.a src/game_io/libgame_io.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/logic/liblogic_addons.a src/logic/liblogic_game_controller.a src/logic/liblogic_game_settings.a src/logic/map_objects/liblogic_tribe_basic_info.a src/logic/liblogic_training_wheels.a src/map_io/libmap_io_map_loader.a src/scripting/libscripting_logic.a src/scripting/libscripting_lua_interface.a src/scripting/libscripting_lua_table.a src/sound/libsound.a src/ui_basic/libui_basic.a src/libwidelands_options.a src/wui/libwui.a src/wui/libwui_game_tips.a src/ai/libai_hints.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_text_layout.a src/graphic/libgraphic_toolbar_imageset.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/scripting/libscripting_coroutine.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_mouse_cursor.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/liblogic_single_player_game_settings.a src/wui/libwui_common_mapdetails.a src/wui/libwui_mapview.a src/ai/libai.a src/wui/libwui_mapview_pixelfunctions.a src/graphic/libgraphic_functions.a src/graphic/text/libgraphic_text.a src/graphic/libgraphic_wordwrap.a src/libwidelands_ball_of_mud.a src/graphic/libgraphic_game_renderer.a src/network/libnetwork.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_quicknavigation.a src/wui/libwui_sound_options.a src/wui/libwui_waresdisplay.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/wui/libwui_common_suggested_teams.a src/ui_fsmenu/libui_fsmenu.a src/economy/libeconomy.a src/logic/liblogic.a src/logic/map_objects/liblogic_map_objects.a src/graphic/libgraphic.a src/logic/liblogic_commands.a src/logic/liblogic_map.a src/map_io/libmap_io.a src/editor/libeditor.a src/game_io/libgame_io.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/logic/liblogic_addons.a src/logic/liblogic_game_controller.a src/logic/liblogic_game_settings.a src/logic/map_objects/liblogic_tribe_basic_info.a src/logic/liblogic_training_wheels.a src/map_io/libmap_io_map_loader.a src/scripting/libscripting_logic.a src/scripting/libscripting_lua_interface.a src/scripting/libscripting_lua_table.a src/sound/libsound.a src/ui_basic/libui_basic.a src/libwidelands_options.a src/wui/libwui.a src/wui/libwui_game_tips.a src/ai/libai_hints.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_text_layout.a src/graphic/libgraphic_toolbar_imageset.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/scripting/libscripting_coroutine.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_mouse_cursor.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/liblogic_single_player_game_settings.a src/wui/libwui_common_mapdetails.a src/wui/libwui_mapview.a src/ai/libai.a src/wui/libwui_mapview_pixelfunctions.a src/graphic/libgraphic_functions.a src/graphic/text/libgraphic_text.a src/graphic/libgraphic_wordwrap.a src/libwidelands_ball_of_mud.a src/graphic/libgraphic_game_renderer.a src/network/libnetwork.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_quicknavigation.a src/wui/libwui_sound_options.a src/wui/libwui_waresdisplay.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/wui/libwui_common_suggested_teams.a src/ui_fsmenu/libui_fsmenu.a src/economy/libeconomy.a src/logic/liblogic.a src/logic/map_objects/liblogic_map_objects.a src/graphic/libgraphic.a src/logic/liblogic_commands.a src/logic/liblogic_map.a src/map_io/libmap_io.a src/editor/libeditor.a src/game_io/libgame_io.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/logic/liblogic_addons.a src/logic/liblogic_game_controller.a src/logic/liblogic_game_settings.a src/logic/map_objects/liblogic_tribe_basic_info.a src/logic/liblogic_training_wheels.a src/map_io/libmap_io_map_loader.a src/scripting/libscripting_logic.a src/scripting/libscripting_lua_interface.a src/scripting/libscripting_lua_table.a src/sound/libsound.a src/ui_basic/libui_basic.a src/libwidelands_options.a src/wui/libwui.a src/wui/libwui_game_tips.a src/ai/libai_hints.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_text_layout.a src/graphic/libgraphic_toolbar_imageset.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/scripting/libscripting_coroutine.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_mouse_cursor.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/liblogic_single_player_game_settings.a src/wui/libwui_common_mapdetails.a src/wui/libwui_mapview.a src/ai/libai.a src/wui/libwui_mapview_pixelfunctions.a src/graphic/libgraphic_functions.a src/graphic/text/libgraphic_text.a src/graphic/libgraphic_wordwrap.a src/libwidelands_ball_of_mud.a src/graphic/libgraphic_game_renderer.a src/network/libnetwork.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_quicknavigation.a src/wui/libwui_sound_options.a src/wui/libwui_waresdisplay.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/wui/libwui_common_suggested_teams.a src/ui_fsmenu/libui_fsmenu.a src/economy/libeconomy.a src/logic/liblogic.a src/logic/map_objects/liblogic_map_objects.a src/graphic/libgraphic.a src/logic/liblogic_commands.a src/logic/liblogic_map.a src/map_io/libmap_io.a src/editor/libeditor.a src/game_io/libgame_io.a src/graphic/libgraphic_image_cache.a src/graphic/libgraphic_playercolor.a src/logic/liblogic_addons.a src/logic/liblogic_game_controller.a src/logic/liblogic_game_settings.a src/logic/map_objects/liblogic_tribe_basic_info.a src/logic/liblogic_training_wheels.a src/map_io/libmap_io_map_loader.a src/scripting/libscripting_logic.a src/scripting/libscripting_lua_interface.a src/scripting/libscripting_lua_table.a src/sound/libsound.a src/ui_basic/libui_basic.a src/libwidelands_options.a src/wui/libwui.a src/wui/libwui_game_tips.a src/ai/libai_hints.a src/graphic/animation/libgraphic_animation.a src/graphic/libgraphic_fonthandler.a src/graphic/libgraphic_image_io.a src/graphic/libgraphic_surface.a src/graphic/libgraphic_text_layout.a src/graphic/libgraphic_toolbar_imageset.a src/logic/map_objects/liblogic_map_objects_description_manager.a src/graphic/libgraphic_build_texture_atlas.a src/graphic/libgraphic_draw_programs.a src/graphic/libgraphic_gl_utils.a src/graphic/libgraphic_render_queue.a src/graphic/styles/libgraphic_styles.a src/scripting/libscripting_coroutine.a src/graphic/libgraphic_minimap_renderer.a src/graphic/libgraphic_mouse_cursor.a src/io/filesystem/libio_filesystem_illegal_filename_check.a src/logic/liblogic_single_player_game_settings.a src/wui/libwui_common_mapdetails.a src/wui/libwui_mapview.a src/ai/libai.a src/wui/libwui_mapview_pixelfunctions.a src/graphic/libgraphic_functions.a src/graphic/text/libgraphic_text.a src/graphic/libgraphic_wordwrap.a src/libwidelands_ball_of_mud.a src/graphic/libgraphic_game_renderer.a src/network/libnetwork.a src/wui/libwui_chat_ui.a src/wui/libwui_common_gamedetails.a src/wui/libwui_quicknavigation.a src/wui/libwui_sound_options.a src/wui/libwui_waresdisplay.a src/graphic/libgraphic_texture_atlas.a src/graphic/libgraphic_fields_to_draw.a src/graphic/libgraphic_terrain_programs.a src/wui/libwui_common_suggested_teams.a src/ui_fsmenu/libui_fsmenu.a src/ui_basic/libui_basic_loading_message.a src/logic/liblogic_widelands_geometry_io.a src/scripting/libscripting_luna.a /usr/local/lib/libSDL2_mixer.so.1.1 src/base/libbase_scoped_timer.a src/base/libbase_utf8.a src/logic/liblogic_generic_save_handler.a src/logic/liblogic_objectives.a src/sound/libnote_sound.a src/sound/libsound_constants.a /usr/local/lib/libpng.so.18.0 /usr/local/lib/libSDL2_image.so.1.1 src/logic/map_objects/liblogic_map_object_type.a /usr/local/lib/libGLEW.so.9.0 src/scripting/libscripting_errors.a src/scripting/libscripting_base.a src/third_party/libthird_party_eris.a src/graphic/libgraphic_sdl_utils.a src/graphic/libgraphic_color.a src/graphic/libgraphic_align.a /usr/local/lib/libicuuc.so.22.2 /usr/local/lib/libicudata.so.22.2 src/logic/liblogic_exceptions.a /usr/local/lib/libSDL2_ttf.so.0.1 /usr/lib/libexecinfo.so.3.0 src/base/libbase_md5.a src/base/libbase_math.a src/chat/libchat.a src/base/libbase_time_string.a src/logic/liblogic_widelands_geometry.a src/logic/map_objects/liblogic_map_objects_description_maintainer.a src/wui/libwui_mapview_pixelconstants.a src/logic/liblogic_constants.a src/base/libbase_random.a src/io/libio_profile.a src/io/filesystem/libio_filesystem.a src/base/libbase.a src/base/libbase_times.a src/io/libio_fileread.a src/notifications/libnotifications.a src/io/filesystem/libio_filesystem.a src/base/libbase.a src/base/libbase_times.a src/io/libio_fileread.a src/notifications/libnotifications.a src/io/filesystem/libio_filesystem.a src/base/libbase.a src/base/libbase_times.a src/io/libio_fileread.a src/notifications/libnotifications.a src/io/filesystem/libio_filesystem.a src/base/libbase.a src/base/libbase_times.a src/io/libio_fileread.a src/notifications/libnotifications.a src/io/filesystem/libio_filesystem.a src/base/libbase.a src/base/libbase_times.a src/io/libio_fileread.a src/notifications/libnotifications.a src/third_party/libthird_party_minizip.a /usr/lib/libz.so.7.0 /usr/local/lib/libintl.so.8.0 src/third_party/libthird_party_gettext.a src/io/libio_stream.a /usr/local/lib/libSDL2main.a /usr/local/lib/libSDL2.so.0.15 -lpthread src/base/libbase_exceptions.a src/base/libbase_macros.a src/libbuild_info.a src/base/libbase_geometry.a src/logic/liblogic_filesystem_constants.a src/third_party/libthird_party_sha1.a /usr/X11R6/lib/libGL.so.19.1 -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : /usr/X11R6/lib/libGL.so.19.1: warning: rand() may return deterministic values, is that what you want? src/network/libnetwork.a(netclient.cc.o): In function `asio::detail::socket_ops::inet_ntop(int, void const*, char*, unsigned long, unsigned long, std::__1::error_code&)': netclient.cc:(.text._ZN4asio6detail10socket_ops9inet_ntopEiPKvPcmmRNSt3__110error_codeE[_ZN4asio6detail10socket_ops9inet_ntopEiPKvPcmmRNSt3__110error_codeE]+0x1e8): warning: strcat() is almost always misused, please use strlcat() src/third_party/libthird_party_eris.a(lobject.c.o): In function `luaO_str2num': lobject.c:(.text+0xc08): warning: strcpy() is almost always misused, please use strlcpy() src/map_io/libmap_io.a(coords_profile.cc.o): In function `Widelands::set_coords(std::__1::basic_string, std::__1::allocator > const&, Widelands::Coords const&, Section*)': coords_profile.cc:(.text+0x6c): warning: sprintf() is often misused, please use snprintf() /usr/X11R6/lib/libGL.so.19.1: warning: random() may return deterministic values, is that what you want? /usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. [2308/2312] cd /pobj/widelands-1.1/build-mips64 && /usr/local/bin/ctest --output-on-failure FAILED: CMakeFiles/_run_all_tests /pobj/widelands-1.1/build-mips64/CMakeFiles/_run_all_tests cd /pobj/widelands-1.1/build-mips64 && /usr/local/bin/ctest --output-on-failure Test project /pobj/widelands-1.1/build-mips64 Start 1: test_ai 1/6 Test #1: test_ai .......................... Passed 1.55 sec Start 2: test_base 2/6 Test #2: test_base ........................Bus error***Exception: 0.22 sec Adding testcase rect_and_vector Adding testcase math_sign Adding testcase math_clamp Adding testcase math_misc Adding testcase checksum Adding testcase times_and_durations Adding testcase time_string_formatting Adding testcase utf8_unicode Adding testcase chars Adding testcase equality Adding testcase contain_start_end Adding testcase join_strings Adding testcase trim_split_replace Adding testcase string_formatting Running geometry::rect_and_vector Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc:35 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc:36 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc:37 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc:38 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc:39 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc:42 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc:43 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc:44 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_geometry.cc:46 Running math::math_clamp Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:33 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:34 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:35 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:36 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:37 Running math::math_misc Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:41 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:42 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:43 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:44 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:45 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:46 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:47 Running math::math_sign Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:25 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:26 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:27 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:28 Running testcase /pobj/widelands-1.1/widelands-1.1/src/base/test/test_math.cc:29 Running md5::checksum Start 3: test_economy 3/6 Test #3: test_economy ..................... Passed 1.55 sec Start 4: test_io_filesystem 4/6 Test #4: test_io_filesystem ............... Passed 0.15 sec Start 5: notifications_test 5/6 Test #5: notifications_test ............... Passed 0.12 sec Start 6: test_scripting 6/6 Test #6: test_scripting ................... Passed 0.18 sec 83% tests passed, 1 tests failed out of 6 Total Test time (real) = 3.90 sec The following tests FAILED: 2 - test_base (Bus error) Errors while running CTest ninja: build stopped: subcommand failed. *** Error 1 in games/widelands (/ports/devel/cmake/cmake.port.mk:46 'do-build': @cd /pobj/widelands-1.1/build-mips64 && exec /usr/bin/env -i...) *** Error 2 in games/widelands (/ports/infrastructure/mk/bsd.port.mk:3057 '/pobj/widelands-1.1/build-mips64/.build_done': @cd /ports/games/w...) *** Error 2 in games/widelands (/ports/infrastructure/mk/bsd.port.mk:2704 'build': @lock=widelands-1.1p0; export _LOCKS_HELD=" widelands-1....) ===> Exiting games/widelands with an error *** Error 1 in /ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval ${e...) >>> Ended at 1713298691.25 max_stuck=520.36/depends=41.37/show-prepare-results=17.10/patch=181.34/configure=175.34/build=39134.13 Error: job failed with 512 on localhost at 1713298691