>>> Building on sparc64-2d under games/colobot/colobot BDEPENDS = [devel/ninja;audio/libsndfile;devel/gettext,-runtime;graphics/glew;audio/openal;devel/sdl2-ttf;lang/gcc/8;devel/boost;lang/gcc/8,-libs;devel/cmake;lang/gcc/8,-c++;devel/physfs;devel/sdl2-image;devel/gettext,-tools] DIST = [games/colobot/colobot:colobot-0.1.12.tar.gz] FULLPKGNAME = colobot-0.1.12 RDEPENDS = [games/colobot/music;devel/physfs;devel/sdl2-image;graphics/glew;devel/gettext,-runtime;audio/libsndfile;devel/boost;lang/gcc/8,-libs;games/colobot/data;audio/openal;devel/sdl2-ttf] (Junk lock failure for sparc64-2d at 1731394794.47583) Received IO (Junk lock obtained for sparc64-2d at 1731394816.20) Received IO Woken up games/colobot/colobot >>> Running depends in games/colobot/colobot at 1731394822.15 last junk was in textproc/py-tomli,python3 /usr/sbin/pkg_add -aI -Drepair gettext-tools-0.22.5 libsndfile-1.2.2p0 openal-1.23.1v0 physfs-3.0.2p0 sdl2-image-2.8.2p1 sdl2-ttf-2.22.0 was: /usr/sbin/pkg_add -aI -Drepair boost-1.84.0p4v0 cmake-3.30.5v1 g++-8.4.0p25 gcc-8.4.0p25 gcc-libs-8.4.0p25 gettext-runtime-0.22.5 gettext-tools-0.22.5 glew-2.2.0p0 libsndfile-1.2.2p0 ninja-1.11.1p0v0 openal-1.23.1v0 physfs-3.0.2p0 sdl2-image-2.8.2p1 sdl2-ttf-2.22.0 /usr/sbin/pkg_add -aI -Drepair gettext-tools-0.22.5 libsndfile-1.2.2p0 openal-1.23.1v0 physfs-3.0.2p0 sdl2-image-2.8.2p1 sdl2-ttf-2.22.0 >>> Running show-prepare-results in games/colobot/colobot at 1731394876.44 ===> games/colobot/colobot ===> Building from scratch colobot-0.1.12 ===> colobot-0.1.12 depends on: gettext-tools-* -> gettext-tools-0.22.5 ===> colobot-0.1.12 depends on: cmake-* -> cmake-3.30.5v1 ===> colobot-0.1.12 depends on: ninja-* -> ninja-1.11.1p0v0 ===> colobot-0.1.12 depends on: gcc->=8,<9 -> gcc-8.4.0p25 ===> colobot-0.1.12 depends on: g++->=8,<9 -> g++-8.4.0p25 ===> colobot-0.1.12 depends on: libsndfile-* -> libsndfile-1.2.2p0 ===> colobot-0.1.12 depends on: openal-* -> openal-1.23.1v0 ===> colobot-0.1.12 depends on: boost-* -> boost-1.84.0p4v0 ===> colobot-0.1.12 depends on: gettext-runtime-* -> gettext-runtime-0.22.5 ===> colobot-0.1.12 depends on: physfs-* -> physfs-3.0.2p0 ===> colobot-0.1.12 depends on: sdl2-image-* -> sdl2-image-2.8.2p1 ===> colobot-0.1.12 depends on: sdl2-ttf-* -> sdl2-ttf-2.22.0 ===> colobot-0.1.12 depends on: glew-* -> glew-2.2.0p0 ===> colobot-0.1.12 depends on: gcc-libs->=8,<9 -> gcc-libs-8.4.0p25 ===> Verifying specs: estdc++>=17 pthread GL GLEW GLU SDL2 SDL2_image SDL2_ttf boost_filesystem-mt boost_regex-mt boost_system-mt c intl m openal physfs png pthread sndfile z estdc++>=19 ===> found estdc++.19.0 pthread.27.1 GL.19.1 GLEW.9.0 GLU.9.0 SDL2.0.15 SDL2_image.1.1 SDL2_ttf.0.1 boost_filesystem-mt.23.0 boost_regex-mt.23.0 boost_system-mt.23.0 c.100.3 intl.8.0 m.10.1 openal.5.0 physfs.3.0 png.18.0 sndfile.7.0 z.7.1 boost-1.84.0p4v0 cmake-3.30.5v1 g++-8.4.0p25 gcc-8.4.0p25 gcc-libs-8.4.0p25 gettext-runtime-0.22.5 gettext-tools-0.22.5 glew-2.2.0p0 libsndfile-1.2.2p0 ninja-1.11.1p0v0 openal-1.23.1v0 physfs-3.0.2p0 sdl2-image-2.8.2p1 sdl2-ttf-2.22.0 Don't run junk because nojunk in net/ntopng (Junk lock released for sparc64-2d at 1731394898.46) Woken up x11/ogle distfiles size=1468594 >>> Running patch in games/colobot/colobot at 1731394898.58 ===> games/colobot/colobot ===> Checking files for colobot-0.1.12 `/usr/ports/distfiles/colobot-0.1.12.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for colobot-0.1.12 ===> Patching for colobot-0.1.12 ===> Applying OpenBSD patch patch-CMakeLists_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: CMakeLists.txt |--- CMakeLists.txt.orig |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 135. Hunk #2 succeeded at 152. done ===> Applying OpenBSD patch patch-src_common_system_system_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Pull XDG directory code from system_linux.cpp. | |Index: src/common/system/system.cpp |--- src/common/system/system.cpp.orig |+++ src/common/system/system.cpp -------------------------- Patching file src/common/system/system.cpp using Plan A... Hunk #1 succeeded at 188. done ===> Applying OpenBSD patch patch-src_script_script_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Missing include, breaks with ports-gcc | |Index: src/script/script.h |--- src/script/script.h.orig |+++ src/script/script.h -------------------------- Patching file src/script/script.h using Plan A... Hunk #1 succeeded at 26. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/local/bin/eg++ ===> Compiler link: g++ -> /usr/local/bin/eg++ >>> Running configure in games/colobot/colobot at 1731394902.76 ===> games/colobot/colobot ===> Generating configure for colobot-0.1.12 ===> Configuring for colobot-0.1.12 CMake Deprecation Warning at CMakeLists.txt:6 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 8.4.0 -- The CXX compiler identification is GNU 8.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/obj/ports/colobot-0.1.12/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: /usr/obj/ports/colobot-0.1.12/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building Colobot "Gold" (0.1.12-alpha) -- Build for other system -- Detected GCC version 4.7+ -- Found OpenGL: /usr/X11R6/lib/libGL.so.19.1 (Required is at least version "1.4") -- 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/libSDL2main.a;/usr/local/lib/libSDL2.so.0.15;-lpthread CMake Warning (dev) at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:441 (message): The package name passed to `find_package_handle_standard_args` (SDL2_IMAGE) does not match the name of the calling package (SDL2_image). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindSDL2_image.cmake:157 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:262 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found SDL2_IMAGE: /usr/local/lib/libSDL2_image.so.1.1 CMake Warning (dev) at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:441 (message): The package name passed to `find_package_handle_standard_args` (SDL2_TTF) does not match the name of the calling package (SDL2_ttf). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindSDL2_ttf.cmake:156 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:263 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found SDL2_TTF: /usr/local/lib/libSDL2_ttf.so.0.1 -- Found ZLIB: /usr/lib/libz.so.7.1 (found version "1.3.1.1") -- Found PNG: /usr/local/lib/libpng.so.18.0 (found suitable version "1.6.44", minimum required is "1.2") -- Found Gettext: /usr/local/bin/msgmerge (found version "0.22.5") CMake Warning (dev) at CMakeLists.txt:273 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find Boost (missing: Boost_DIR) -- Found Boost: /usr/local/include (found version "1.84.0") found components: system filesystem regex -- Found OpenAL: /usr/local/lib/libopenal.so.5.0 -- Found LibSndFile: /usr/local/lib/libsndfile.so.7.0 CMake Deprecation Warning at lib/localename/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) CMake Deprecation Warning at po/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at desktop/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Warning at desktop/CMakeLists.txt:8 (message): rsvg-convert not found; desktop icons will not be generated CMake Warning at desktop/CMakeLists.txt:13 (message): xmlstarlet not found; desktop icons will not be generated CMake Warning at CMakeLists.txt:436 (message): Data directory is not available; make sure colobot-data is installed in /usr/local/share/colobot. -- Configuring done (17.5s) -- Generating done (2.1s) 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 -- Build files have been written to: /usr/obj/ports/colobot-0.1.12/build-sparc64 >>> Running build in games/colobot/colobot at 1731394925.35 ===> games/colobot/colobot ===> Building for colobot-0.1.12 Change Dir: '/usr/obj/ports/colobot-0.1.12/build-sparc64' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/279] /usr/obj/ports/colobot-0.1.12/bin/cc -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/local/include/AL -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -DNDEBUG -MD -MT lib/localename/CMakeFiles/localename.dir/localename.c.o -MF lib/localename/CMakeFiles/localename.dir/localename.c.o.d -o lib/localename/CMakeFiles/localename.dir/localename.c.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename/localename.c [2/279] : && /usr/local/bin/cmake -E rm -f lib/localename/liblocalename.a && /usr/bin/ar qc lib/localename/liblocalename.a lib/localename/CMakeFiles/localename.dir/localename.c.o && /usr/bin/ranlib lib/localename/liblocalename.a && : [3/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/sound/oalsound/alsound.cpp.o -MF src/CMakeFiles/colobotbase.dir/sound/oalsound/alsound.cpp.o.d -o src/CMakeFiles/colobotbase.dir/sound/oalsound/alsound.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/sound/oalsound/alsound.cpp [4/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/sound/oalsound/buffer.cpp.o -MF src/CMakeFiles/colobotbase.dir/sound/oalsound/buffer.cpp.o.d -o src/CMakeFiles/colobotbase.dir/sound/oalsound/buffer.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/sound/oalsound/buffer.cpp [5/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/sound/oalsound/channel.cpp.o -MF src/CMakeFiles/colobotbase.dir/sound/oalsound/channel.cpp.o.d -o src/CMakeFiles/colobotbase.dir/sound/oalsound/channel.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/sound/oalsound/channel.cpp [6/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/sound/oalsound/check.cpp.o -MF src/CMakeFiles/colobotbase.dir/sound/oalsound/check.cpp.o.d -o src/CMakeFiles/colobotbase.dir/sound/oalsound/check.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/sound/oalsound/check.cpp [7/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/app/app.cpp.o -MF src/CMakeFiles/colobotbase.dir/app/app.cpp.o.d -o src/CMakeFiles/colobotbase.dir/app/app.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/app.cpp In file included from /usr/local/include/boost/property_tree/ptree.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/app.cpp:26: /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, signed char)': /usr/local/include/boost/property_tree/stream_translator.hpp:137:23: warning: use of old-style cast to 'int' [-Wold-style-cast] s << (int)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, signed char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:151:30: warning: use of old-style cast to 'signed char' [-Wold-style-cast] e = (signed char)i; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, unsigned char)': /usr/local/include/boost/property_tree/stream_translator.hpp:162:28: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] s << (unsigned)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, unsigned char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:174:32: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] e = (unsigned char)i; ^ In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/mpl/aux_/iter_apply.hpp:17, from /usr/local/include/boost/mpl/aux_/find_if_pred.hpp:14, from /usr/local/include/boost/mpl/find_if.hpp:17, from /usr/local/include/boost/mpl/find.hpp:17, from /usr/local/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/local/include/boost/mpl/contains.hpp:20, from /usr/local/include/boost/multi_index_container.hpp:26, from /usr/local/include/boost/property_tree/ptree.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/app.cpp:26: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/app.cpp:26: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/app.cpp:26: /usr/local/include/boost/multi_index/detail/seq_index_ops.hpp:111:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] (std::size_t)std::numeric_limits::digits+1); ^~~~~~ In file included from /usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /usr/local/include/boost/multi_index/ordered_index.hpp:17, from /usr/local/include/boost/property_tree/ptree.hpp:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/app.cpp:26: /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base::pointer() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(*r&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base::pointer)': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl* boost::multi_index::detail::ordered_index_node_compressed_base::parent() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(parentcolor_&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] [8/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/app/controller.cpp.o -MF src/CMakeFiles/colobotbase.dir/app/controller.cpp.o.d -o src/CMakeFiles/colobotbase.dir/app/controller.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/controller.cpp [9/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/app/input.cpp.o -MF src/CMakeFiles/colobotbase.dir/app/input.cpp.o.d -o src/CMakeFiles/colobotbase.dir/app/input.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/input.cpp In file included from /usr/local/include/boost/property_tree/ptree.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/input.cpp:22: /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, signed char)': /usr/local/include/boost/property_tree/stream_translator.hpp:137:23: warning: use of old-style cast to 'int' [-Wold-style-cast] s << (int)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, signed char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:151:30: warning: use of old-style cast to 'signed char' [-Wold-style-cast] e = (signed char)i; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, unsigned char)': /usr/local/include/boost/property_tree/stream_translator.hpp:162:28: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] s << (unsigned)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, unsigned char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:174:32: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] e = (unsigned char)i; ^ In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/mpl/aux_/iter_apply.hpp:17, from /usr/local/include/boost/mpl/aux_/find_if_pred.hpp:14, from /usr/local/include/boost/mpl/find_if.hpp:17, from /usr/local/include/boost/mpl/find.hpp:17, from /usr/local/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/local/include/boost/mpl/contains.hpp:20, from /usr/local/include/boost/multi_index_container.hpp:26, from /usr/local/include/boost/property_tree/ptree.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/input.cpp:22: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/input.cpp:22: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/input.cpp:22: /usr/local/include/boost/multi_index/detail/seq_index_ops.hpp:111:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] (std::size_t)std::numeric_limits::digits+1); ^~~~~~ In file included from /usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /usr/local/include/boost/multi_index/ordered_index.hpp:17, from /usr/local/include/boost/property_tree/ptree.hpp:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/input.cpp:22: /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base::pointer() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(*r&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base::pointer)': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl* boost::multi_index::detail::ordered_index_node_compressed_base::parent() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(parentcolor_&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] [10/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/app/pathman.cpp.o -MF src/CMakeFiles/colobotbase.dir/app/pathman.cpp.o.d -o src/CMakeFiles/colobotbase.dir/app/pathman.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/iterator/iterator_facade.hpp:36, from /usr/local/include/boost/range/iterator_range_core.hpp:27, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/algorithm/string/std_containers_traits.hpp:18, from /usr/local/include/boost/algorithm/string.hpp:18, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /usr/local/include/boost/concept/assert.hpp:35, from /usr/local/include/boost/concept_check.hpp:20, from /usr/local/include/boost/range/concepts.hpp:19, from /usr/local/include/boost/range/size_type.hpp:20, from /usr/local/include/boost/range/size.hpp:21, from /usr/local/include/boost/range/functions.hpp:20, from /usr/local/include/boost/range/iterator_range_core.hpp:38, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /usr/local/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /usr/local/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /usr/local/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /usr/local/include/boost/concept_check.hpp:31, from /usr/local/include/boost/range/concepts.hpp:19, from /usr/local/include/boost/range/size_type.hpp:20, from /usr/local/include/boost/range/size.hpp:21, from /usr/local/include/boost/range/functions.hpp:20, from /usr/local/include/boost/range/iterator_range_core.hpp:38, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /usr/local/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /usr/local/include/boost/mpl/aux_/na_assert.hpp:23, from /usr/local/include/boost/mpl/arg.hpp:25, from /usr/local/include/boost/mpl/placeholders.hpp:24, from /usr/local/include/boost/iterator/iterator_categories.hpp:16, from /usr/local/include/boost/iterator/iterator_facade.hpp:13, from /usr/local/include/boost/range/iterator_range_core.hpp:27, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/range/concepts.hpp: At global scope: /usr/local/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<(mpl_::assert_::relations)1, std::numeric_limits::difference_type>::is_signed, 1>::************' [-Wold-style-cast] >::************)) 0 ) \ ^ /usr/local/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /usr/local/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/algorithm/string/std_containers_traits.hpp:18, from /usr/local/include/boost/algorithm/string.hpp:18, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:15, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:22, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:29, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:36, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:43, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:50, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:57, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:64, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:71, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:78, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:85, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pathman.cpp:37: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ [11/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/app/pausemanager.cpp.o -MF src/CMakeFiles/colobotbase.dir/app/pausemanager.cpp.o.d -o src/CMakeFiles/colobotbase.dir/app/pausemanager.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pausemanager.cpp In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/iterator/iterator_facade.hpp:36, from /usr/local/include/boost/range/iterator_range_core.hpp:27, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/join.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pausemanager.cpp:29: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/algorithm/string/config.hpp:14, from /usr/local/include/boost/algorithm/string/join.hpp:14, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pausemanager.cpp:29: /usr/local/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /usr/local/include/boost/concept/assert.hpp:35, from /usr/local/include/boost/concept_check.hpp:20, from /usr/local/include/boost/range/concepts.hpp:19, from /usr/local/include/boost/range/size_type.hpp:20, from /usr/local/include/boost/range/size.hpp:21, from /usr/local/include/boost/range/functions.hpp:20, from /usr/local/include/boost/range/iterator_range_core.hpp:38, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/join.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pausemanager.cpp:29: /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /usr/local/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /usr/local/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /usr/local/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /usr/local/include/boost/concept_check.hpp:31, from /usr/local/include/boost/range/concepts.hpp:19, from /usr/local/include/boost/range/size_type.hpp:20, from /usr/local/include/boost/range/size.hpp:21, from /usr/local/include/boost/range/functions.hpp:20, from /usr/local/include/boost/range/iterator_range_core.hpp:38, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/join.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pausemanager.cpp:29: /usr/local/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /usr/local/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /usr/local/include/boost/mpl/aux_/na_assert.hpp:23, from /usr/local/include/boost/mpl/arg.hpp:25, from /usr/local/include/boost/mpl/placeholders.hpp:24, from /usr/local/include/boost/iterator/iterator_categories.hpp:16, from /usr/local/include/boost/iterator/iterator_facade.hpp:13, from /usr/local/include/boost/range/iterator_range_core.hpp:27, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/join.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pausemanager.cpp:29: /usr/local/include/boost/range/concepts.hpp: At global scope: /usr/local/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<(mpl_::assert_::relations)1, std::numeric_limits::difference_type>::is_signed, 1>::************' [-Wold-style-cast] >::************)) 0 ) \ ^ /usr/local/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /usr/local/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/algorithm/string/config.hpp:14, from /usr/local/include/boost/algorithm/string/join.hpp:14, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/pausemanager.cpp:29: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ [12/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/app/signal_handlers.cpp.o -MF src/CMakeFiles/colobotbase.dir/app/signal_handlers.cpp.o.d -o src/CMakeFiles/colobotbase.dir/app/signal_handlers.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/app/signal_handlers.cpp [13/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/config_file.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/config_file.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/config_file.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp In file included from /usr/local/include/boost/property_tree/ptree.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:21: /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, signed char)': /usr/local/include/boost/property_tree/stream_translator.hpp:137:23: warning: use of old-style cast to 'int' [-Wold-style-cast] s << (int)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, signed char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:151:30: warning: use of old-style cast to 'signed char' [-Wold-style-cast] e = (signed char)i; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, unsigned char)': /usr/local/include/boost/property_tree/stream_translator.hpp:162:28: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] s << (unsigned)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, unsigned char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:174:32: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] e = (unsigned char)i; ^ In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/mpl/aux_/iter_apply.hpp:17, from /usr/local/include/boost/mpl/aux_/find_if_pred.hpp:14, from /usr/local/include/boost/mpl/find_if.hpp:17, from /usr/local/include/boost/mpl/find.hpp:17, from /usr/local/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/local/include/boost/mpl/contains.hpp:20, from /usr/local/include/boost/multi_index_container.hpp:26, from /usr/local/include/boost/property_tree/ptree.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:21: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:21: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:21: /usr/local/include/boost/multi_index/detail/seq_index_ops.hpp:111:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] (std::size_t)std::numeric_limits::digits+1); ^~~~~~ In file included from /usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /usr/local/include/boost/multi_index/ordered_index.hpp:17, from /usr/local/include/boost/property_tree/ptree.hpp:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:21: /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base::pointer() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(*r&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base::pointer)': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl* boost::multi_index::detail::ordered_index_node_compressed_base::parent() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(parentcolor_&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:26, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:344:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:539:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:843:42: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ - static_cast< - > ( ) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:859:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:864:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ - static_cast< -- > (c) In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:27, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:257:15: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat < 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:267:12: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat >= 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:614:15: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat < 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:624:12: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat >= 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:853:40: warning: use of old-style cast to 'int' [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:969:19: warning: use of old-style cast to 'int' [-Wold-style-cast] if ((int)cat < 0) ^~~ -------- static_cast (cat) /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:979:16: warning: use of old-style cast to 'int' [-Wold-style-cast] if ((int)cat >= 0) ^~~ -------- static_cast (cat) In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:28, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/c_regex_traits.hpp: In static member function 'static boost::c_regex_traits::string_type boost::c_regex_traits::lookup_collatename(const wchar_t*, const wchar_t*)': /usr/local/include/boost/regex/v5/c_regex_traits.hpp:443:29: warning: use of old-style cast to 'char' [-Wold-style-cast] name.push_back((char)*pos); ^~~ ---------- static_cast (*pos) In file included from /usr/local/include/boost/regex/v5/regex.hpp:41, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:187:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_extended_escape()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:905:106: warning: use of old-style cast to 'int' [-Wold-style-cast] if(((i < hash_value_mask) && (i > 0)) || ((i >= hash_value_mask) && (this->m_pdata->get_id((int)i) > 0))) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:909:30: warning: use of old-style cast to 'int' [-Wold-style-cast] pb->index = (int)i; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1205:55: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1818:119: warning: use of old-style cast to 'intmax_t' {aka 'long long int'} [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (std::intmax_t)(std::numeric_limits::max)())) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1863:79: warning: use of old-style cast to 'intmax_t' {aka 'long long int'} [-Wold-style-cast] if((val < 0) || (val > (std::intmax_t)(std::numeric_limits::max)())) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_backref()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1947:24: warning: use of old-style cast to 'int' [-Wold-style-cast] pb->index = (int)i; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2093:35: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] pr->alt.i = (std::ptrdiff_t)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2248:41: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = v < 0 ? (int)(v - 1) : 0; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2281:27: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = (int)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2342:27: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = (int)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2641:59: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2705:48: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:42, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /usr/local/include/boost/regex/v5/sub_match.hpp:44:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp:44:98: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /usr/local/include/boost/regex/v5/sub_match.hpp:52:62: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp:52:89: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:43, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /usr/local/include/boost/regex/v5/regex_format.hpp:66:50: warning: use of old-style cast to 'int' [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:43, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const std::integral_constant&)': /usr/local/include/boost/regex/v5/regex_format.hpp:149:63: warning: use of old-style cast to 'int' [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:44, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /usr/local/include/boost/regex/v5/match_results.hpp:105:34: warning: use of old-style cast to 'int' [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /usr/local/include/boost/regex/v5/match_results.hpp:141:55: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /usr/local/include/boost/regex/v5/match_results.hpp:141:80: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /usr/local/include/boost/regex/v5/match_results.hpp:170:33: warning: use of old-style cast to 'int' [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /usr/local/include/boost/regex/v5/match_results.hpp:204:33: warning: use of old-style cast to 'int' [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /usr/local/include/boost/regex/v5/match_results.hpp:629:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:629:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:630:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:630:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:62:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:66:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:38: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:50: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:62: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /usr/local/include/boost/regex/v5/perl_matcher.hpp:572, from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:564:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:565:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:608:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:609:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:811:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:885:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:960:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ In file included from /usr/local/include/boost/regex.hpp:28, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:113:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:119:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:125:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:138:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:144:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/boost/regex/v5/perl_matcher.hpp:574, from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:807:78: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:851:52: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:886:53: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:67, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /usr/local/include/boost/regex/v5/regex_token_iterator.hpp:65:70: warning: use of old-style cast to 'int' [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /usr/local/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /usr/local/include/boost/regex/v5/regex_token_iterator.hpp:94:31: warning: use of old-style cast to 'int' [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:71, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.cpp:35: /usr/local/include/boost/regex/v5/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /usr/local/include/boost/regex/v5/regex_split.hpp:115:62: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /usr/local/include/boost/regex/v5/regex_split.hpp:115:80: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ [14/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/event.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/event.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/event.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/event.cpp [15/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/font_loader.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/font_loader.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/font_loader.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp In file included from /usr/local/include/boost/property_tree/ptree.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:20: /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, signed char)': /usr/local/include/boost/property_tree/stream_translator.hpp:137:23: warning: use of old-style cast to 'int' [-Wold-style-cast] s << (int)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, signed char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:151:30: warning: use of old-style cast to 'signed char' [-Wold-style-cast] e = (signed char)i; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, unsigned char)': /usr/local/include/boost/property_tree/stream_translator.hpp:162:28: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] s << (unsigned)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, unsigned char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:174:32: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] e = (unsigned char)i; ^ In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/mpl/aux_/iter_apply.hpp:17, from /usr/local/include/boost/mpl/aux_/find_if_pred.hpp:14, from /usr/local/include/boost/mpl/find_if.hpp:17, from /usr/local/include/boost/mpl/find.hpp:17, from /usr/local/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/local/include/boost/mpl/contains.hpp:20, from /usr/local/include/boost/multi_index_container.hpp:26, from /usr/local/include/boost/property_tree/ptree.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:20: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:20: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:20: /usr/local/include/boost/multi_index/detail/seq_index_ops.hpp:111:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] (std::size_t)std::numeric_limits::digits+1); ^~~~~~ In file included from /usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /usr/local/include/boost/multi_index/ordered_index.hpp:17, from /usr/local/include/boost/property_tree/ptree.hpp:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:20: /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base::pointer() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(*r&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base::pointer)': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl* boost::multi_index::detail::ordered_index_node_compressed_base::parent() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(parentcolor_&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:26, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:344:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:539:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:843:42: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ - static_cast< - > ( ) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:859:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:864:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ - static_cast< -- > (c) In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:27, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:257:15: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat < 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:267:12: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat >= 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:614:15: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat < 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:624:12: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat >= 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:853:40: warning: use of old-style cast to 'int' [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:969:19: warning: use of old-style cast to 'int' [-Wold-style-cast] if ((int)cat < 0) ^~~ -------- static_cast (cat) /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:979:16: warning: use of old-style cast to 'int' [-Wold-style-cast] if ((int)cat >= 0) ^~~ -------- static_cast (cat) In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:28, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/c_regex_traits.hpp: In static member function 'static boost::c_regex_traits::string_type boost::c_regex_traits::lookup_collatename(const wchar_t*, const wchar_t*)': /usr/local/include/boost/regex/v5/c_regex_traits.hpp:443:29: warning: use of old-style cast to 'char' [-Wold-style-cast] name.push_back((char)*pos); ^~~ ---------- static_cast (*pos) In file included from /usr/local/include/boost/regex/v5/regex.hpp:41, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:187:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_extended_escape()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:905:106: warning: use of old-style cast to 'int' [-Wold-style-cast] if(((i < hash_value_mask) && (i > 0)) || ((i >= hash_value_mask) && (this->m_pdata->get_id((int)i) > 0))) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:909:30: warning: use of old-style cast to 'int' [-Wold-style-cast] pb->index = (int)i; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1205:55: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1818:119: warning: use of old-style cast to 'intmax_t' {aka 'long long int'} [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (std::intmax_t)(std::numeric_limits::max)())) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1863:79: warning: use of old-style cast to 'intmax_t' {aka 'long long int'} [-Wold-style-cast] if((val < 0) || (val > (std::intmax_t)(std::numeric_limits::max)())) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_backref()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1947:24: warning: use of old-style cast to 'int' [-Wold-style-cast] pb->index = (int)i; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2093:35: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] pr->alt.i = (std::ptrdiff_t)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2248:41: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = v < 0 ? (int)(v - 1) : 0; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2281:27: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = (int)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2342:27: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = (int)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2641:59: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2705:48: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:42, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /usr/local/include/boost/regex/v5/sub_match.hpp:44:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp:44:98: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /usr/local/include/boost/regex/v5/sub_match.hpp:52:62: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp:52:89: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:43, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /usr/local/include/boost/regex/v5/regex_format.hpp:66:50: warning: use of old-style cast to 'int' [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:43, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const std::integral_constant&)': /usr/local/include/boost/regex/v5/regex_format.hpp:149:63: warning: use of old-style cast to 'int' [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:44, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /usr/local/include/boost/regex/v5/match_results.hpp:105:34: warning: use of old-style cast to 'int' [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /usr/local/include/boost/regex/v5/match_results.hpp:141:55: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /usr/local/include/boost/regex/v5/match_results.hpp:141:80: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /usr/local/include/boost/regex/v5/match_results.hpp:170:33: warning: use of old-style cast to 'int' [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /usr/local/include/boost/regex/v5/match_results.hpp:204:33: warning: use of old-style cast to 'int' [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /usr/local/include/boost/regex/v5/match_results.hpp:629:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:629:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:630:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:630:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:62:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:66:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:38: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:50: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:62: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /usr/local/include/boost/regex/v5/perl_matcher.hpp:572, from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:564:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:565:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:608:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:609:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:811:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:885:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:960:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ In file included from /usr/local/include/boost/regex.hpp:28, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:113:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:119:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:125:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:138:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:144:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/boost/regex/v5/perl_matcher.hpp:574, from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:807:78: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:851:52: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:886:53: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:67, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /usr/local/include/boost/regex/v5/regex_token_iterator.hpp:65:70: warning: use of old-style cast to 'int' [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /usr/local/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /usr/local/include/boost/regex/v5/regex_token_iterator.hpp:94:31: warning: use of old-style cast to 'int' [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:71, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.cpp:37: /usr/local/include/boost/regex/v5/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /usr/local/include/boost/regex/v5/regex_split.hpp:115:62: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /usr/local/include/boost/regex/v5/regex_split.hpp:115:80: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ [16/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/image.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/image.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/image.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/image.cpp [17/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/key.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/key.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/key.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/key.cpp [18/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/language.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/language.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/language.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/language.cpp [19/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/logger.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/logger.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/logger.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/logger.cpp [20/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/profiler.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/profiler.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/profiler.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/profiler.cpp [21/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/regex_utils.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/regex_utils.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/regex_utils.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:26, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:344:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:539:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:843:42: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ - static_cast< - > ( ) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:859:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:864:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ - static_cast< -- > (c) In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:27, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:257:15: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat < 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:267:12: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat >= 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:614:15: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat < 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:624:12: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat >= 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:853:40: warning: use of old-style cast to 'int' [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:969:19: warning: use of old-style cast to 'int' [-Wold-style-cast] if ((int)cat < 0) ^~~ -------- static_cast (cat) /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:979:16: warning: use of old-style cast to 'int' [-Wold-style-cast] if ((int)cat >= 0) ^~~ -------- static_cast (cat) In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:28, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/c_regex_traits.hpp: In static member function 'static boost::c_regex_traits::string_type boost::c_regex_traits::lookup_collatename(const wchar_t*, const wchar_t*)': /usr/local/include/boost/regex/v5/c_regex_traits.hpp:443:29: warning: use of old-style cast to 'char' [-Wold-style-cast] name.push_back((char)*pos); ^~~ ---------- static_cast (*pos) In file included from /usr/local/include/boost/regex/v5/regex.hpp:41, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:187:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_extended_escape()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:905:106: warning: use of old-style cast to 'int' [-Wold-style-cast] if(((i < hash_value_mask) && (i > 0)) || ((i >= hash_value_mask) && (this->m_pdata->get_id((int)i) > 0))) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:909:30: warning: use of old-style cast to 'int' [-Wold-style-cast] pb->index = (int)i; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1205:55: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1818:119: warning: use of old-style cast to 'intmax_t' {aka 'long long int'} [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (std::intmax_t)(std::numeric_limits::max)())) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1863:79: warning: use of old-style cast to 'intmax_t' {aka 'long long int'} [-Wold-style-cast] if((val < 0) || (val > (std::intmax_t)(std::numeric_limits::max)())) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_backref()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1947:24: warning: use of old-style cast to 'int' [-Wold-style-cast] pb->index = (int)i; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2093:35: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] pr->alt.i = (std::ptrdiff_t)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2248:41: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = v < 0 ? (int)(v - 1) : 0; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2281:27: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = (int)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2342:27: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = (int)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2641:59: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2705:48: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:42, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /usr/local/include/boost/regex/v5/sub_match.hpp:44:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp:44:98: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /usr/local/include/boost/regex/v5/sub_match.hpp:52:62: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp:52:89: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:43, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /usr/local/include/boost/regex/v5/regex_format.hpp:66:50: warning: use of old-style cast to 'int' [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:43, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const std::integral_constant&)': /usr/local/include/boost/regex/v5/regex_format.hpp:149:63: warning: use of old-style cast to 'int' [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:44, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /usr/local/include/boost/regex/v5/match_results.hpp:105:34: warning: use of old-style cast to 'int' [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /usr/local/include/boost/regex/v5/match_results.hpp:141:55: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /usr/local/include/boost/regex/v5/match_results.hpp:141:80: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /usr/local/include/boost/regex/v5/match_results.hpp:170:33: warning: use of old-style cast to 'int' [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /usr/local/include/boost/regex/v5/match_results.hpp:204:33: warning: use of old-style cast to 'int' [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /usr/local/include/boost/regex/v5/match_results.hpp:629:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:629:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:630:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:630:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:62:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:66:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:38: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:50: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:62: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /usr/local/include/boost/regex/v5/perl_matcher.hpp:572, from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:564:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:565:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:608:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:609:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:811:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:885:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:960:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ In file included from /usr/local/include/boost/regex.hpp:28, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:113:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:119:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:125:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:138:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:144:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/boost/regex/v5/perl_matcher.hpp:574, from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:807:78: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:851:52: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:886:53: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:67, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /usr/local/include/boost/regex/v5/regex_token_iterator.hpp:65:70: warning: use of old-style cast to 'int' [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /usr/local/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /usr/local/include/boost/regex/v5/regex_token_iterator.hpp:94:31: warning: use of old-style cast to 'int' [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:71, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/regex_utils.cpp:20: /usr/local/include/boost/regex/v5/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /usr/local/include/boost/regex/v5/regex_split.hpp:115:62: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /usr/local/include/boost/regex/v5/regex_split.hpp:115:80: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ [22/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/resources/inputstream.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/resources/inputstream.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/resources/inputstream.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/inputstream.cpp [23/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/resources/inputstreambuffer.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/resources/inputstreambuffer.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/resources/inputstreambuffer.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/inputstreambuffer.cpp /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/inputstreambuffer.cpp: In member function 'virtual std::basic_streambuf::int_type CInputStreamBuffer::underflow()': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/inputstreambuffer.cpp:82:94: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 read_count = PHYSFS_read(m_file, m_buffer.get(), sizeof(char), m_bufferSize); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/inputstreambuffer.h:27, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/inputstreambuffer.cpp:20: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/inputstreambuffer.cpp:82:94: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 read_count = PHYSFS_read(m_file, m_buffer.get(), sizeof(char), m_bufferSize); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/inputstreambuffer.h:27, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/inputstreambuffer.cpp:20: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ [24/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/resources/outputstream.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/resources/outputstream.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/resources/outputstream.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstream.cpp [25/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/resources/outputstreambuffer.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/resources/outputstreambuffer.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/resources/outputstreambuffer.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.cpp /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.cpp: In member function 'virtual std::basic_streambuf::int_type COutputStreamBuffer::overflow(std::basic_streambuf::int_type)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.cpp:81:84: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 bytes_written = PHYSFS_write(m_file, pbase(), 1, pptr() - pbase()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.h:27, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.cpp:20: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.cpp:81:84: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_sint64 bytes_written = PHYSFS_write(m_file, pbase(), 1, pptr() - pbase()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.h:27, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.cpp:20: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.cpp:89:55: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] bytes_written = PHYSFS_write(m_file, &ch, 1, 1); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.h:27, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.cpp:20: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.cpp:89:55: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] bytes_written = PHYSFS_write(m_file, &ch, 1, 1); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.h:27, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/outputstreambuffer.cpp:20: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ [26/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/resources/resourcemanager.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/resources/resourcemanager.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/resources/resourcemanager.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:26, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:344:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:539:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:843:42: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ - static_cast< - > ( ) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:859:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:864:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ - static_cast< -- > (c) In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:27, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:257:15: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat < 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:267:12: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat >= 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:614:15: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat < 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:624:12: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat >= 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:853:40: warning: use of old-style cast to 'int' [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:969:19: warning: use of old-style cast to 'int' [-Wold-style-cast] if ((int)cat < 0) ^~~ -------- static_cast (cat) /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:979:16: warning: use of old-style cast to 'int' [-Wold-style-cast] if ((int)cat >= 0) ^~~ -------- static_cast (cat) In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:28, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/c_regex_traits.hpp: In static member function 'static boost::c_regex_traits::string_type boost::c_regex_traits::lookup_collatename(const wchar_t*, const wchar_t*)': /usr/local/include/boost/regex/v5/c_regex_traits.hpp:443:29: warning: use of old-style cast to 'char' [-Wold-style-cast] name.push_back((char)*pos); ^~~ ---------- static_cast (*pos) In file included from /usr/local/include/boost/regex/v5/regex.hpp:41, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:187:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_extended_escape()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:905:106: warning: use of old-style cast to 'int' [-Wold-style-cast] if(((i < hash_value_mask) && (i > 0)) || ((i >= hash_value_mask) && (this->m_pdata->get_id((int)i) > 0))) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:909:30: warning: use of old-style cast to 'int' [-Wold-style-cast] pb->index = (int)i; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1205:55: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1818:119: warning: use of old-style cast to 'intmax_t' {aka 'long long int'} [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (std::intmax_t)(std::numeric_limits::max)())) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1863:79: warning: use of old-style cast to 'intmax_t' {aka 'long long int'} [-Wold-style-cast] if((val < 0) || (val > (std::intmax_t)(std::numeric_limits::max)())) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_backref()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1947:24: warning: use of old-style cast to 'int' [-Wold-style-cast] pb->index = (int)i; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2093:35: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] pr->alt.i = (std::ptrdiff_t)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2248:41: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = v < 0 ? (int)(v - 1) : 0; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2281:27: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = (int)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2342:27: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = (int)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2641:59: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2705:48: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:42, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /usr/local/include/boost/regex/v5/sub_match.hpp:44:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp:44:98: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /usr/local/include/boost/regex/v5/sub_match.hpp:52:62: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp:52:89: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:43, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /usr/local/include/boost/regex/v5/regex_format.hpp:66:50: warning: use of old-style cast to 'int' [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:43, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const std::integral_constant&)': /usr/local/include/boost/regex/v5/regex_format.hpp:149:63: warning: use of old-style cast to 'int' [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:44, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /usr/local/include/boost/regex/v5/match_results.hpp:105:34: warning: use of old-style cast to 'int' [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /usr/local/include/boost/regex/v5/match_results.hpp:141:55: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /usr/local/include/boost/regex/v5/match_results.hpp:141:80: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /usr/local/include/boost/regex/v5/match_results.hpp:170:33: warning: use of old-style cast to 'int' [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /usr/local/include/boost/regex/v5/match_results.hpp:204:33: warning: use of old-style cast to 'int' [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /usr/local/include/boost/regex/v5/match_results.hpp:629:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:629:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:630:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:630:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:62:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:66:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:38: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:50: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:62: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /usr/local/include/boost/regex/v5/perl_matcher.hpp:572, from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:564:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:565:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:608:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:609:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:811:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:885:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:960:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ In file included from /usr/local/include/boost/regex.hpp:28, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:113:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:119:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:125:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:138:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:144:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/boost/regex/v5/perl_matcher.hpp:574, from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:807:78: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:851:52: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:886:53: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:67, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /usr/local/include/boost/regex/v5/regex_token_iterator.hpp:65:70: warning: use of old-style cast to 'int' [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /usr/local/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /usr/local/include/boost/regex/v5/regex_token_iterator.hpp:94:31: warning: use of old-style cast to 'int' [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:71, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:34: /usr/local/include/boost/regex/v5/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /usr/local/include/boost/regex/v5/regex_split.hpp:115:62: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /usr/local/include/boost/regex/v5/regex_split.hpp:115:80: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp: In constructor 'CResourceManager::CResourceManager(const char*)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:41:89: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] GetLogger()->Error("Error while initializing physfs: %s\n", PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:41:89: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] GetLogger()->Error("Error while initializing physfs: %s\n", PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp: In destructor 'CResourceManager::~CResourceManager()': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:54:95: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] GetLogger()->Error("Error while deinitializing physfs: %s\n", PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:54:95: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] GetLogger()->Error("Error while deinitializing physfs: %s\n", PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp: In static member function 'static bool CResourceManager::AddLocation(const string&, bool)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:69:103: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] GetLogger()->Error("Error while mounting \"%s\": %s\n", location.c_str(), PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:69:103: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] GetLogger()->Error("Error while mounting \"%s\": %s\n", location.c_str(), PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp: In static member function 'static bool CResourceManager::RemoveLocation(const string&)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:79:54: warning: 'int PHYSFS_removeFromSearchPath(const char*)' is deprecated [-Wdeprecated-declarations] if (!PHYSFS_removeFromSearchPath(location.c_str())) ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:79:54: warning: 'int PHYSFS_removeFromSearchPath(const char*)' is deprecated [-Wdeprecated-declarations] if (!PHYSFS_removeFromSearchPath(location.c_str())) ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:81:105: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] GetLogger()->Error("Error while unmounting \"%s\": %s\n", location.c_str(), PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:81:105: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] GetLogger()->Error("Error while unmounting \"%s\": %s\n", location.c_str(), PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp: In static member function 'static bool CResourceManager::SetSaveLocation(const string&)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:103:119: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] GetLogger()->Error("Error while setting save location to \"%s\": %s\n", location.c_str(), PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:103:119: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] GetLogger()->Error("Error while setting save location to \"%s\": %s\n", location.c_str(), PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp: In static member function 'static bool CResourceManager::DirectoryExists(const string&)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:148:110: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated [-Wdeprecated-declarations] return PHYSFS_exists(CleanPath(directory).c_str()) && PHYSFS_isDirectory(CleanPath(directory).c_str()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:148:110: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated [-Wdeprecated-declarations] return PHYSFS_exists(CleanPath(directory).c_str()) && PHYSFS_isDirectory(CleanPath(directory).c_str()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp: In static member function 'static std::vector > CResourceManager::ListDirectories(const string&)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:207:48: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(path.c_str())) ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:207:48: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated [-Wdeprecated-declarations] if (PHYSFS_isDirectory(path.c_str())) ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:1159:17: note: declared here PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp: In static member function 'static long long int CResourceManager::GetLastModificationTime(const string&)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:236:65: warning: 'PHYSFS_sint64 PHYSFS_getLastModTime(const char*)' is deprecated [-Wdeprecated-declarations] return PHYSFS_getLastModTime(CleanPath(filename).c_str()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:1206:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_getLastModTime(const char *filename) ^~~~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:236:65: warning: 'PHYSFS_sint64 PHYSFS_getLastModTime(const char*)' is deprecated [-Wdeprecated-declarations] return PHYSFS_getLastModTime(CleanPath(filename).c_str()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/resourcemanager.cpp:21: /usr/local/include/physfs.h:1206:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_getLastModTime(const char *filename) ^~~~~~~~~~~~~~~~~~~~~ [27/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/resources/sdl_file_wrapper.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/resources/sdl_file_wrapper.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/resources/sdl_file_wrapper.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_file_wrapper.cpp /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_file_wrapper.cpp: In static member function 'static size_t CSDLFileWrapper::SDLRead(SDL_RWops*, void*, size_t, size_t)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_file_wrapper.cpp:163:58: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] auto result = PHYSFS_read(file, ptr, size, maxnum); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_file_wrapper.cpp:25: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_file_wrapper.cpp:163:58: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] auto result = PHYSFS_read(file, ptr, size, maxnum); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_file_wrapper.cpp:25: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ [28/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/resources/sdl_memory_wrapper.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/resources/sdl_memory_wrapper.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/resources/sdl_memory_wrapper.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_memory_wrapper.cpp /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_memory_wrapper.cpp: In constructor 'CSDLMemoryWrapper::CSDLMemoryWrapper(const string&)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_memory_wrapper.cpp:49:52: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, m_buffer.get(), 1, length) != length) ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_memory_wrapper.cpp:26: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_memory_wrapper.cpp:49:52: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] if (PHYSFS_read(file, m_buffer.get(), 1, length) != length) ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sdl_memory_wrapper.cpp:26: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ [29/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/resources/sndfile_wrapper.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/resources/sndfile_wrapper.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/resources/sndfile_wrapper.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp: In constructor 'CSNDFileWrapper::CSNDFileWrapper(const string&)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:50:56: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] m_last_error = std::string(PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:20: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:50:56: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] m_last_error = std::string(PHYSFS_getLastError()); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:20: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp: In static member function 'static sf_count_t CSNDFileWrapper::SNDRead(void*, sf_count_t, void*)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:100:71: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] return PHYSFS_read(static_cast(data), ptr, 1, count); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:20: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:100:71: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] return PHYSFS_read(static_cast(data), ptr, 1, count); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:20: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp: In static member function 'static sf_count_t CSNDFileWrapper::SNDWrite(const void*, sf_count_t, void*)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:132:72: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(static_cast(data), ptr, 1, count); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:20: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:132:72: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] return PHYSFS_write(static_cast(data), ptr, 1, count); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.h:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/resources/sndfile_wrapper.cpp:20: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ [30/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/restext.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/restext.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/restext.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:26, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::syntax_type boost::re_detail_500::get_default_syntax_type(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:344:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'boost::regex_constants::escape_syntax_type boost::re_detail_500::get_default_escape_syntax_type(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:539:38: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return char_syntax[(unsigned char)c]; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'std::ptrdiff_t boost::re_detail_500::global_length(const charT*) [with charT = wchar_t; std::ptrdiff_t = long int]': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:843:42: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] return (std::ptrdiff_t)(std::wcslen)(p); ^ - static_cast< - > ( ) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_lower(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:859:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return static_cast((std::tolower)((unsigned char)c)); ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp: In function 'char boost::re_detail_500::do_global_upper(char)': /usr/local/include/boost/regex/v5/regex_traits_defaults.hpp:864:59: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return static_cast((std::toupper)((unsigned char)c)); ^ - static_cast< -- > (c) In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:27, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:257:15: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat < 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:267:12: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat >= 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_implementation::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:614:15: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat < 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:624:12: warning: use of old-style cast to 'int' [-Wold-style-cast] if((int)cat >= 0) ^~~ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'int boost::cpp_regex_traits::value(charT, int) const': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:853:40: warning: use of old-style cast to 'int' [-Wold-style-cast] return (int)toi(pc, pc + 1, radix); ^ /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp: In member function 'void boost::re_detail_500::cpp_regex_traits_char_layer::init()': /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:969:19: warning: use of old-style cast to 'int' [-Wold-style-cast] if ((int)cat < 0) ^~~ -------- static_cast (cat) /usr/local/include/boost/regex/v5/cpp_regex_traits.hpp:979:16: warning: use of old-style cast to 'int' [-Wold-style-cast] if ((int)cat >= 0) ^~~ -------- static_cast (cat) In file included from /usr/local/include/boost/regex/v5/regex_traits.hpp:28, from /usr/local/include/boost/regex/regex_traits.hpp:30, from /usr/local/include/boost/regex/v5/regex.hpp:31, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/c_regex_traits.hpp: In static member function 'static boost::c_regex_traits::string_type boost::c_regex_traits::lookup_collatename(const wchar_t*, const wchar_t*)': /usr/local/include/boost/regex/v5/c_regex_traits.hpp:443:29: warning: use of old-style cast to 'char' [-Wold-style-cast] name.push_back((char)*pos); ^~~ ---------- static_cast (*pos) In file included from /usr/local/include/boost/regex/v5/regex.hpp:41, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'void boost::re_detail_500::basic_regex_parser::parse(const charT*, const charT*, unsigned int)': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:187:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] this->m_pdata->m_mark_count = 1u + (std::size_t)m_mark_count; ^~~~~~~~~~~~ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_extended_escape()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:905:106: warning: use of old-style cast to 'int' [-Wold-style-cast] if(((i < hash_value_mask) && (i > 0)) || ((i >= hash_value_mask) && (this->m_pdata->get_id((int)i) > 0))) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:909:30: warning: use of old-style cast to 'int' [-Wold-style-cast] pb->index = (int)i; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_repeat_range(bool)': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1205:55: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] max = ((v >= 0) && (v < umax())) ? (std::size_t)v : (std::numeric_limits::max)(); ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'charT boost::re_detail_500::basic_regex_parser::unescape_character()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1818:119: warning: use of old-style cast to 'intmax_t' {aka 'long long int'} [-Wold-style-cast] || ((std::numeric_limits::is_specialized) && (i > (std::intmax_t)(std::numeric_limits::max)())) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1863:79: warning: use of old-style cast to 'intmax_t' {aka 'long long int'} [-Wold-style-cast] if((val < 0) || (val > (std::intmax_t)(std::numeric_limits::max)())) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_backref()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:1947:24: warning: use of old-style cast to 'int' [-Wold-style-cast] pb->index = (int)i; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp: In member function 'bool boost::re_detail_500::basic_regex_parser::parse_perl_extension()': /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2093:35: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] pr->alt.i = (std::ptrdiff_t)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2248:41: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = v < 0 ? (int)(v - 1) : 0; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2281:27: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = (int)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2342:27: warning: use of old-style cast to 'int' [-Wold-style-cast] br->index = (int)v; ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2641:59: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] else if(((std::ptrdiff_t)this->m_pdata->m_data.size() > (static_cast(b)->alt.i + this->getoffset(b))) && (static_cast(b)->alt.i > 0) && this->getaddress(static_cast(b)->alt.i, b)->type == syntax_element_alt) ^ /usr/local/include/boost/regex/v5/basic_regex_parser.hpp:2705:48: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] this->m_pdata->m_subs.at((std::size_t)markid - 1).second = std::distance(m_base, m_position) - 1; ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:42, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/sub_match.hpp: In member function 'boost::sub_match::difference_type boost::sub_match::length() const': /usr/local/include/boost/regex/v5/sub_match.hpp:44:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp:44:98: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] difference_type n = matched ? std::distance((BidiIterator)this->first, (BidiIterator)this->second) : 0; ^~~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp: In member function 'std::__cxx11::basic_string::value_type> boost::sub_match::str() const': /usr/local/include/boost/regex/v5/sub_match.hpp:52:62: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~ /usr/local/include/boost/regex/v5/sub_match.hpp:52:89: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] std::size_t len = std::distance((BidiIterator)this->first, (BidiIterator)this->second); ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:43, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::trivial_format_traits::toi(const charT*&, const charT*, int) const': /usr/local/include/boost/regex/v5/regex_format.hpp:66:50: warning: use of old-style cast to 'int' [-Wold-style-cast] return (int)global_toi(p1, p2, radix, *this); ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:43, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/regex_format.hpp: In member function 'int boost::re_detail_500::basic_regex_formatter::toi(ForwardIter&, ForwardIter, int, const std::integral_constant&)': /usr/local/include/boost/regex/v5/regex_format.hpp:149:63: warning: use of old-style cast to 'int' [-Wold-style-cast] int r = (int)m_traits.toi(pos, &v[0] + v.size(), base); ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:44, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::length(int) const': /usr/local/include/boost/regex/v5/match_results.hpp:105:34: warning: use of old-style cast to 'int' [-Wold-style-cast] if((sub < (int)m_subs.size()) && (sub > 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::difference_type boost::match_results::position(boost::match_results::size_type) const': /usr/local/include/boost/regex/v5/match_results.hpp:141:55: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /usr/local/include/boost/regex/v5/match_results.hpp:141:80: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] return std::distance((BidiIterator)(m_base), (BidiIterator)(s.first)); ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'boost::match_results::string_type boost::match_results::str(int) const': /usr/local/include/boost/regex/v5/match_results.hpp:170:33: warning: use of old-style cast to 'int' [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub > 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'const typename std::allocator_traits<_Alloc>::value_type& boost::match_results::operator[](int) const': /usr/local/include/boost/regex/v5/match_results.hpp:204:33: warning: use of old-style cast to 'int' [-Wold-style-cast] if(sub < (int)m_subs.size() && (sub >= 0)) ^ /usr/local/include/boost/regex/v5/match_results.hpp: In member function 'void boost::match_results::maybe_assign(const boost::match_results&)': /usr/local/include/boost/regex/v5/match_results.hpp:629:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:629:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len1 = std::distance((BidiIterator)p1->first, (BidiIterator)p1->second); ^~~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:630:46: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~ /usr/local/include/boost/regex/v5/match_results.hpp:630:71: warning: use of old-style cast to 'BidiIterator' [-Wold-style-cast] len2 = std::distance((BidiIterator)p2->first, (BidiIterator)p2->second); ^~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(char, const unsigned char*, unsigned char)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:62:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'bool boost::re_detail_500::can_start(signed char, const unsigned char*, unsigned char)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:66:30: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] return map[(unsigned char)c] & mask; ^ - static_cast< -- > (c) /usr/local/include/boost/regex/v5/perl_matcher.hpp: In function 'int boost::re_detail_500::string_compare(const Seq&, const C*)': /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:38: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:50: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ /usr/local/include/boost/regex/v5/perl_matcher.hpp:107:62: warning: use of old-style cast to 'int' [-Wold-style-cast] return (i == s.size()) ? -(int)p[i] : (int)s[i] - (int)p[i]; ^ In file included from /usr/local/include/boost/regex/v5/perl_matcher.hpp:572, from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_alt()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:564:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_first = can_start(*position, jmp->_map, (unsigned char)mask_take); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:565:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_second = can_start(*position, jmp->_map, (unsigned char)mask_skip); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_rep()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:608:67: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_first = can_start(*position, rep->_map, (unsigned char)mask_take); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:609:68: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] take_second = can_start(*position, rep->_map, (unsigned char)mask_skip); ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_char_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:811:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_set_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:885:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp: In member function 'bool boost::re_detail_500::perl_matcher::match_long_set_repeat()': /usr/local/include/boost/regex/v5/perl_matcher_non_recursive.hpp:960:55: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] count = (unsigned)std::distance(origin, position); ^ In file included from /usr/local/include/boost/regex.hpp:28, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'void boost::re_detail_500::perl_matcher::estimate_max_state_count(std::random_access_iterator_tag*)': /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:113:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:119:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:125:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:138:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/regex/config.hpp:343:39: warning: use of old-style cast to 'std::ptrdiff_t' {aka 'long int'} [-Wold-style-cast] # define BOOST_REGEX_MAX_STATE_COUNT 100000000 ^~~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:144:52: note: in expansion of macro 'BOOST_REGEX_MAX_STATE_COUNT' max_state_count = (std::min)((std::ptrdiff_t)BOOST_REGEX_MAX_STATE_COUNT, (std::numeric_limits::max)() - 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/boost/regex/v5/perl_matcher.hpp:574, from /usr/local/include/boost/regex/v5/regex.hpp:45, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_any()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:807:78: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] while((position != last) && !can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_word()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:851:52: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] if(can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ /usr/local/include/boost/regex/v5/perl_matcher_common.hpp: In member function 'bool boost::re_detail_500::perl_matcher::find_restart_line()': /usr/local/include/boost/regex/v5/perl_matcher_common.hpp:886:53: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] if( can_start(*position, _map, (unsigned char)mask_any) ) ^~~~~~~~ In file included from /usr/local/include/boost/regex/v5/regex.hpp:67, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::init(BidirectionalIterator)': /usr/local/include/boost/regex/v5/regex_token_iterator.hpp:65:70: warning: use of old-style cast to 'int' [-Wold-style-cast] result = ((subs[N] == -1) ? what.prefix() : what[(int)subs[N]]); ^ /usr/local/include/boost/regex/v5/regex_token_iterator.hpp: In member function 'bool boost::regex_token_iterator_implementation::next()': /usr/local/include/boost/regex/v5/regex_token_iterator.hpp:94:31: warning: use of old-style cast to 'int' [-Wold-style-cast] if(N+1 < (int)subs.size()) ^ In file included from /usr/local/include/boost/regex/v5/regex.hpp:71, from /usr/local/include/boost/regex.hpp:34, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/restext.cpp:36: /usr/local/include/boost/regex/v5/regex_split.hpp: In function 'std::size_t boost::regex_split(OutputIterator, std::__cxx11::basic_string&, const boost::basic_regex&, boost::regex_constants::match_flag_type, std::size_t)': /usr/local/include/boost/regex/v5/regex_split.hpp:115:62: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^~~~ /usr/local/include/boost/regex/v5/regex_split.hpp:115:80: warning: use of old-style cast to 'ci_t' [-Wold-style-cast] *out = std::basic_string((ci_t)last, (ci_t)s.end()); ^ [31/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/system/system.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/system/system.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/system/system.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/system/system.cpp [32/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/system/system_other.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/system/system_other.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/system/system_other.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/system/system_other.cpp [33/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/settings.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/settings.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/settings.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/settings.cpp In file included from /usr/local/include/boost/property_tree/ptree.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/settings.cpp:25: /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, signed char)': /usr/local/include/boost/property_tree/stream_translator.hpp:137:23: warning: use of old-style cast to 'int' [-Wold-style-cast] s << (int)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, signed char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:151:30: warning: use of old-style cast to 'signed char' [-Wold-style-cast] e = (signed char)i; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, unsigned char)': /usr/local/include/boost/property_tree/stream_translator.hpp:162:28: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] s << (unsigned)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, unsigned char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:174:32: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] e = (unsigned char)i; ^ In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/mpl/aux_/iter_apply.hpp:17, from /usr/local/include/boost/mpl/aux_/find_if_pred.hpp:14, from /usr/local/include/boost/mpl/find_if.hpp:17, from /usr/local/include/boost/mpl/find.hpp:17, from /usr/local/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/local/include/boost/mpl/contains.hpp:20, from /usr/local/include/boost/multi_index_container.hpp:26, from /usr/local/include/boost/property_tree/ptree.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/settings.cpp:25: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/settings.cpp:25: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/settings.cpp:25: /usr/local/include/boost/multi_index/detail/seq_index_ops.hpp:111:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] (std::size_t)std::numeric_limits::digits+1); ^~~~~~ In file included from /usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /usr/local/include/boost/multi_index/ordered_index.hpp:17, from /usr/local/include/boost/property_tree/ptree.hpp:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/settings.cpp:25: /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base::pointer() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(*r&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base::pointer)': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl* boost::multi_index::detail::ordered_index_node_compressed_base::parent() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(parentcolor_&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] [34/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/common/stringutils.cpp.o -MF src/CMakeFiles/colobotbase.dir/common/stringutils.cpp.o.d -o src/CMakeFiles/colobotbase.dir/common/stringutils.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/stringutils.cpp [35/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/core/color.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/core/color.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/core/color.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/core/color.cpp [36/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/core/framebuffer.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/core/framebuffer.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/core/framebuffer.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/core/framebuffer.cpp [37/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/core/nulldevice.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/core/nulldevice.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/core/nulldevice.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/core/nulldevice.cpp [38/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/core/type.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/core/type.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/core/type.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/core/type.cpp [39/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/camera.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/camera.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/camera.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/camera.cpp [40/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/cloud.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/cloud.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/cloud.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/cloud.cpp [41/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/engine.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/engine.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/engine.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/engine.cpp [42/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/lightman.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/lightman.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/lightman.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/lightman.cpp [43/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/lightning.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/lightning.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/lightning.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/lightning.cpp [44/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/oldmodelmanager.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/oldmodelmanager.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/oldmodelmanager.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/oldmodelmanager.cpp [45/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/particle.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/particle.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/particle.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/particle.cpp [46/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/planet.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/planet.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/planet.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/planet.cpp [47/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/pyro.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/pyro.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/pyro.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/pyro.cpp [48/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/pyro_manager.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/pyro_manager.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/pyro_manager.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/pyro_manager.cpp [49/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/terrain.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/terrain.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/terrain.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/terrain.cpp [50/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/text.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/text.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/text.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/text.cpp In file included from /usr/local/include/boost/property_tree/ptree.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/text.cpp:25: /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, signed char)': /usr/local/include/boost/property_tree/stream_translator.hpp:137:23: warning: use of old-style cast to 'int' [-Wold-style-cast] s << (int)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, signed char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:151:30: warning: use of old-style cast to 'signed char' [-Wold-style-cast] e = (signed char)i; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, unsigned char)': /usr/local/include/boost/property_tree/stream_translator.hpp:162:28: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] s << (unsigned)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, unsigned char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:174:32: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] e = (unsigned char)i; ^ In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/mpl/aux_/iter_apply.hpp:17, from /usr/local/include/boost/mpl/aux_/find_if_pred.hpp:14, from /usr/local/include/boost/mpl/find_if.hpp:17, from /usr/local/include/boost/mpl/find.hpp:17, from /usr/local/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/local/include/boost/mpl/contains.hpp:20, from /usr/local/include/boost/multi_index_container.hpp:26, from /usr/local/include/boost/property_tree/ptree.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/text.cpp:25: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/text.cpp:25: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/text.cpp:25: /usr/local/include/boost/multi_index/detail/seq_index_ops.hpp:111:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] (std::size_t)std::numeric_limits::digits+1); ^~~~~~ In file included from /usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /usr/local/include/boost/multi_index/ordered_index.hpp:17, from /usr/local/include/boost/property_tree/ptree.hpp:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/font_loader.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/text.cpp:25: /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base::pointer() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(*r&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base::pointer)': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl* boost::multi_index::detail::ordered_index_node_compressed_base::parent() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(parentcolor_&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] [51/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/engine/water.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/engine/water.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/engine/water.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/engine/water.cpp [52/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/model/model.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/model/model.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/model/model.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model.cpp [53/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/model/model_input.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/model/model_input.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/model/model_input.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/iterator/iterator_facade.hpp:36, from /usr/local/include/boost/range/iterator_range_core.hpp:27, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/core/addressof.hpp:17, from /usr/local/include/boost/optional/optional.hpp:30, from /usr/local/include/boost/optional.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.h:22, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:20: /usr/local/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /usr/local/include/boost/concept/assert.hpp:35, from /usr/local/include/boost/concept_check.hpp:20, from /usr/local/include/boost/range/concepts.hpp:19, from /usr/local/include/boost/range/size_type.hpp:20, from /usr/local/include/boost/range/size.hpp:21, from /usr/local/include/boost/range/functions.hpp:20, from /usr/local/include/boost/range/iterator_range_core.hpp:38, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /usr/local/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /usr/local/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /usr/local/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /usr/local/include/boost/concept_check.hpp:31, from /usr/local/include/boost/range/concepts.hpp:19, from /usr/local/include/boost/range/size_type.hpp:20, from /usr/local/include/boost/range/size.hpp:21, from /usr/local/include/boost/range/functions.hpp:20, from /usr/local/include/boost/range/iterator_range_core.hpp:38, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /usr/local/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /usr/local/include/boost/mpl/aux_/na_assert.hpp:23, from /usr/local/include/boost/mpl/arg.hpp:25, from /usr/local/include/boost/mpl/placeholders.hpp:24, from /usr/local/include/boost/iterator/iterator_categories.hpp:16, from /usr/local/include/boost/iterator/iterator_facade.hpp:13, from /usr/local/include/boost/range/iterator_range_core.hpp:27, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/range/concepts.hpp: At global scope: /usr/local/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<(mpl_::assert_::relations)1, std::numeric_limits::difference_type>::is_signed, 1>::************' [-Wold-style-cast] >::************)) 0 ) \ ^ /usr/local/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /usr/local/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/core/addressof.hpp:17, from /usr/local/include/boost/optional/optional.hpp:30, from /usr/local/include/boost/optional.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model.h:31, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.h:22, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:20: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:15, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:22, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:29, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:36, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:43, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:50, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:57, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:64, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:71, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:78, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:85, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_input.cpp:33: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ [54/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/model/model_manager.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/model/model_manager.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/model/model_manager.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_manager.cpp [55/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/model/model_mesh.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/model/model_mesh.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/model/model_mesh.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_mesh.cpp [56/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/model/model_output.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/model/model_output.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/model/model_output.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/model/model_output.cpp [57/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/opengl/gl14device.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/opengl/gl14device.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/opengl/gl14device.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl14device.cpp [58/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/opengl/gl21device.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/opengl/gl21device.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/opengl/gl21device.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl21device.cpp In file included from /usr/local/include/boost/property_tree/ptree.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl21device.cpp:25: /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, signed char)': /usr/local/include/boost/property_tree/stream_translator.hpp:137:23: warning: use of old-style cast to 'int' [-Wold-style-cast] s << (int)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, signed char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:151:30: warning: use of old-style cast to 'signed char' [-Wold-style-cast] e = (signed char)i; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, unsigned char)': /usr/local/include/boost/property_tree/stream_translator.hpp:162:28: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] s << (unsigned)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, unsigned char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:174:32: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] e = (unsigned char)i; ^ In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/mpl/aux_/iter_apply.hpp:17, from /usr/local/include/boost/mpl/aux_/find_if_pred.hpp:14, from /usr/local/include/boost/mpl/find_if.hpp:17, from /usr/local/include/boost/mpl/find.hpp:17, from /usr/local/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/local/include/boost/mpl/contains.hpp:20, from /usr/local/include/boost/multi_index_container.hpp:26, from /usr/local/include/boost/property_tree/ptree.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl21device.cpp:25: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl21device.cpp:25: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl21device.cpp:25: /usr/local/include/boost/multi_index/detail/seq_index_ops.hpp:111:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] (std::size_t)std::numeric_limits::digits+1); ^~~~~~ In file included from /usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /usr/local/include/boost/multi_index/ordered_index.hpp:17, from /usr/local/include/boost/property_tree/ptree.hpp:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl21device.cpp:25: /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base::pointer() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(*r&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base::pointer)': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl* boost::multi_index::detail::ordered_index_node_compressed_base::parent() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(parentcolor_&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] [59/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/opengl/gl33device.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/opengl/gl33device.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/opengl/gl33device.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl33device.cpp In file included from /usr/local/include/boost/property_tree/ptree.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl33device.cpp:24: /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, signed char)': /usr/local/include/boost/property_tree/stream_translator.hpp:137:23: warning: use of old-style cast to 'int' [-Wold-style-cast] s << (int)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, signed char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:151:30: warning: use of old-style cast to 'signed char' [-Wold-style-cast] e = (signed char)i; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, unsigned char)': /usr/local/include/boost/property_tree/stream_translator.hpp:162:28: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] s << (unsigned)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, unsigned char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:174:32: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] e = (unsigned char)i; ^ In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/mpl/aux_/iter_apply.hpp:17, from /usr/local/include/boost/mpl/aux_/find_if_pred.hpp:14, from /usr/local/include/boost/mpl/find_if.hpp:17, from /usr/local/include/boost/mpl/find.hpp:17, from /usr/local/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/local/include/boost/mpl/contains.hpp:20, from /usr/local/include/boost/multi_index_container.hpp:26, from /usr/local/include/boost/property_tree/ptree.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl33device.cpp:24: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl33device.cpp:24: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl33device.cpp:24: /usr/local/include/boost/multi_index/detail/seq_index_ops.hpp:111:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] (std::size_t)std::numeric_limits::digits+1); ^~~~~~ In file included from /usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /usr/local/include/boost/multi_index/ordered_index.hpp:17, from /usr/local/include/boost/property_tree/ptree.hpp:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/gl33device.cpp:24: /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base::pointer() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(*r&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base::pointer)': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl* boost::multi_index::detail::ordered_index_node_compressed_base::parent() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(parentcolor_&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] [60/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/opengl/glframebuffer.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/opengl/glframebuffer.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/opengl/glframebuffer.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/glframebuffer.cpp [61/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/graphics/opengl/glutil.cpp.o -MF src/CMakeFiles/colobotbase.dir/graphics/opengl/glutil.cpp.o.d -o src/CMakeFiles/colobotbase.dir/graphics/opengl/glutil.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/glutil.cpp /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/glutil.cpp: In function 'GLint Gfx::LoadShader(GLint, const char*)': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/glutil.cpp:482:52: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] int length = PHYSFS_read(file, source, 1, 65536); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/glutil.cpp:31: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/glutil.cpp:482:52: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] int length = PHYSFS_read(file, source, 1, 65536); ^ In file included from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/graphics/opengl/glutil.cpp:31: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ [62/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/level/level_category.cpp.o -MF src/CMakeFiles/colobotbase.dir/level/level_category.cpp.o.d -o src/CMakeFiles/colobotbase.dir/level/level_category.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/level_category.cpp [63/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/level/mainmovie.cpp.o -MF src/CMakeFiles/colobotbase.dir/level/mainmovie.cpp.o.d -o src/CMakeFiles/colobotbase.dir/level/mainmovie.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/mainmovie.cpp [64/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/level/parser/parser.cpp.o -MF src/CMakeFiles/colobotbase.dir/level/parser/parser.cpp.o.d -o src/CMakeFiles/colobotbase.dir/level/parser/parser.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parser.cpp In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/iterator/iterator_facade.hpp:36, from /usr/local/include/boost/range/iterator_range_core.hpp:27, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parser.cpp:41: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/algorithm/string/config.hpp:14, from /usr/local/include/boost/algorithm/string/trim.hpp:14, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parser.cpp:41: /usr/local/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /usr/local/include/boost/concept/assert.hpp:35, from /usr/local/include/boost/concept_check.hpp:20, from /usr/local/include/boost/range/concepts.hpp:19, from /usr/local/include/boost/range/size_type.hpp:20, from /usr/local/include/boost/range/size.hpp:21, from /usr/local/include/boost/range/functions.hpp:20, from /usr/local/include/boost/range/iterator_range_core.hpp:38, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parser.cpp:41: /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /usr/local/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /usr/local/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /usr/local/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /usr/local/include/boost/concept_check.hpp:31, from /usr/local/include/boost/range/concepts.hpp:19, from /usr/local/include/boost/range/size_type.hpp:20, from /usr/local/include/boost/range/size.hpp:21, from /usr/local/include/boost/range/functions.hpp:20, from /usr/local/include/boost/range/iterator_range_core.hpp:38, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parser.cpp:41: /usr/local/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /usr/local/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /usr/local/include/boost/mpl/aux_/na_assert.hpp:23, from /usr/local/include/boost/mpl/arg.hpp:25, from /usr/local/include/boost/mpl/placeholders.hpp:24, from /usr/local/include/boost/iterator/iterator_categories.hpp:16, from /usr/local/include/boost/iterator/iterator_facade.hpp:13, from /usr/local/include/boost/range/iterator_range_core.hpp:27, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parser.cpp:41: /usr/local/include/boost/range/concepts.hpp: At global scope: /usr/local/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<(mpl_::assert_::relations)1, std::numeric_limits::difference_type>::is_signed, 1>::************' [-Wold-style-cast] >::************)) 0 ) \ ^ /usr/local/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /usr/local/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/algorithm/string/config.hpp:14, from /usr/local/include/boost/algorithm/string/trim.hpp:14, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parser.cpp:41: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ [65/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/level/parser/parserexceptions.cpp.o -MF src/CMakeFiles/colobotbase.dir/level/parser/parserexceptions.cpp.o.d -o src/CMakeFiles/colobotbase.dir/level/parser/parserexceptions.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserexceptions.cpp [66/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/level/parser/parserline.cpp.o -MF src/CMakeFiles/colobotbase.dir/level/parser/parserline.cpp.o.d -o src/CMakeFiles/colobotbase.dir/level/parser/parserline.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserline.cpp [67/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/level/parser/parserparam.cpp.o -MF src/CMakeFiles/colobotbase.dir/level/parser/parserparam.cpp.o.d -o src/CMakeFiles/colobotbase.dir/level/parser/parserparam.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/iterator/iterator_facade.hpp:36, from /usr/local/include/boost/range/iterator_range_core.hpp:27, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/lexical_cast.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:35: /usr/local/include/boost/concept/detail/has_constraints.hpp:44:58: warning: use of old-style cast to 'Model*' [-Wold-style-cast] , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); ^ In file included from /usr/local/include/boost/concept/assert.hpp:35, from /usr/local/include/boost/concept_check.hpp:20, from /usr/local/include/boost/range/concepts.hpp:19, from /usr/local/include/boost/range/size_type.hpp:20, from /usr/local/include/boost/range/size.hpp:21, from /usr/local/include/boost/range/functions.hpp:20, from /usr/local/include/boost/range/iterator_range_core.hpp:38, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /usr/local/include/boost/concept/detail/general.hpp:35:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::requirement::failed()': /usr/local/include/boost/concept/detail/general.hpp:50:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->~Model(); } ^ /usr/local/include/boost/concept/detail/general.hpp: In static member function 'static void boost::concepts::constraint::failed()': /usr/local/include/boost/concept/detail/general.hpp:65:37: warning: use of old-style cast to 'Model*' [-Wold-style-cast] static void failed() { ((Model*)0)->constraints(); } ^ In file included from /usr/local/include/boost/concept_check.hpp:31, from /usr/local/include/boost/range/concepts.hpp:19, from /usr/local/include/boost/range/size_type.hpp:20, from /usr/local/include/boost/range/size.hpp:21, from /usr/local/include/boost/range/functions.hpp:20, from /usr/local/include/boost/range/iterator_range_core.hpp:38, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/concept/usage.hpp: In destructor 'boost::concepts::usage_requirements::~usage_requirements()': /usr/local/include/boost/concept/usage.hpp:20:38: warning: use of old-style cast to 'Model*' [-Wold-style-cast] ~usage_requirements() { ((Model*)0)->~Model(); } ^ In file included from /usr/local/include/boost/mpl/aux_/na_assert.hpp:23, from /usr/local/include/boost/mpl/arg.hpp:25, from /usr/local/include/boost/mpl/placeholders.hpp:24, from /usr/local/include/boost/iterator/iterator_categories.hpp:16, from /usr/local/include/boost/iterator/iterator_facade.hpp:13, from /usr/local/include/boost/range/iterator_range_core.hpp:27, from /usr/local/include/boost/range/iterator_range.hpp:13, from /usr/local/include/boost/range/as_literal.hpp:18, from /usr/local/include/boost/algorithm/string/trim.hpp:19, from /usr/local/include/boost/algorithm/string.hpp:19, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/range/concepts.hpp: At global scope: /usr/local/include/boost/mpl/assert.hpp:351:35: warning: use of old-style cast to 'struct mpl_::failed************ struct mpl_::assert_relation<(mpl_::assert_::relations)1, std::numeric_limits::difference_type>::is_signed, 1>::************' [-Wold-style-cast] >::************)) 0 ) \ ^ /usr/local/include/boost/mpl/assert.hpp:60:58: note: in definition of macro 'BOOST_MPL_AUX_ASSERT_CONSTANT' # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } ^~~~ /usr/local/include/boost/mpl/assert.hpp:380:1: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION_IMPL' BOOST_MPL_ASSERT_RELATION_IMPL(BOOST_MPL_AUX_PP_COUNTER(), x, rel, y) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/boost/range/concepts.hpp:189:13: note: in expansion of macro 'BOOST_MPL_ASSERT_RELATION' BOOST_MPL_ASSERT_RELATION(std::numeric_limits::is_signed, ==, true); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/lexical_cast.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:35: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:15, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable0::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:22, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:19, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable1::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:29, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:24, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable2::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:36, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:29, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable3::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:43, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:34, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable4::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:50, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:39, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable5::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:57, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:44, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable6::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:64, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:49, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable7::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:71, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:54, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable8::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:78, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:59, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable9::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:85, from /usr/local/include/boost/function/detail/function_iterate.hpp:14, from /usr/local/include/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:64, from /usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:1343, from /usr/local/include/boost/function.hpp:70, from /usr/local/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/local/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/local/include/boost/algorithm/string/iter_find.hpp:27, from /usr/local/include/boost/algorithm/string/split.hpp:16, from /usr/local/include/boost/algorithm/string.hpp:23, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/parser/parserparam.cpp:36: /usr/local/include/boost/function/function_template.hpp: In member function 'bool boost::detail::function::basic_vtable10::assign_to(const boost::reference_wrapper&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const': /usr/local/include/boost/function/function_template.hpp:646:69: warning: use of old-style cast to 'void*' [-Wold-style-cast] functor.members.obj_ref.obj_ptr = (void *)(f.get_pointer()); ^ [68/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/level/player_profile.cpp.o -MF src/CMakeFiles/colobotbase.dir/level/player_profile.cpp.o.d -o src/CMakeFiles/colobotbase.dir/level/player_profile.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/player_profile.cpp In file included from /usr/local/include/boost/property_tree/ptree.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/player_profile.cpp:22: /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, signed char)': /usr/local/include/boost/property_tree/stream_translator.hpp:137:23: warning: use of old-style cast to 'int' [-Wold-style-cast] s << (int)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, signed char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:151:30: warning: use of old-style cast to 'signed char' [-Wold-style-cast] e = (signed char)i; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, unsigned char)': /usr/local/include/boost/property_tree/stream_translator.hpp:162:28: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] s << (unsigned)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, unsigned char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:174:32: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] e = (unsigned char)i; ^ In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/mpl/aux_/iter_apply.hpp:17, from /usr/local/include/boost/mpl/aux_/find_if_pred.hpp:14, from /usr/local/include/boost/mpl/find_if.hpp:17, from /usr/local/include/boost/mpl/find.hpp:17, from /usr/local/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/local/include/boost/mpl/contains.hpp:20, from /usr/local/include/boost/multi_index_container.hpp:26, from /usr/local/include/boost/property_tree/ptree.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/player_profile.cpp:22: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/player_profile.cpp:22: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/player_profile.cpp:22: /usr/local/include/boost/multi_index/detail/seq_index_ops.hpp:111:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] (std::size_t)std::numeric_limits::digits+1); ^~~~~~ In file included from /usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /usr/local/include/boost/multi_index/ordered_index.hpp:17, from /usr/local/include/boost/property_tree/ptree.hpp:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/player_profile.cpp:22: /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base::pointer() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(*r&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base::pointer)': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl* boost::multi_index::detail::ordered_index_node_compressed_base::parent() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(parentcolor_&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] [69/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/level/robotmain.cpp.o -MF src/CMakeFiles/colobotbase.dir/level/robotmain.cpp.o.d -o src/CMakeFiles/colobotbase.dir/level/robotmain.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/robotmain.cpp In file included from /usr/local/include/boost/property_tree/ptree.hpp:17, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/robotmain.cpp:28: /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, signed char)': /usr/local/include/boost/property_tree/stream_translator.hpp:137:23: warning: use of old-style cast to 'int' [-Wold-style-cast] s << (int)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, signed char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:151:30: warning: use of old-style cast to 'signed char' [-Wold-style-cast] e = (signed char)i; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::insert(std::basic_ostream<_CharT, _Traits>&, unsigned char)': /usr/local/include/boost/property_tree/stream_translator.hpp:162:28: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] s << (unsigned)e; ^ /usr/local/include/boost/property_tree/stream_translator.hpp: In static member function 'static void boost::property_tree::customize_stream::extract(std::basic_istream<_CharT, _Traits>&, unsigned char&)': /usr/local/include/boost/property_tree/stream_translator.hpp:174:32: warning: use of old-style cast to 'unsigned char' [-Wold-style-cast] e = (unsigned char)i; ^ In file included from /usr/local/include/boost/mpl/aux_/include_preprocessed.hpp:37, from /usr/local/include/boost/mpl/aux_/template_arity.hpp:43, from /usr/local/include/boost/mpl/aux_/full_lambda.hpp:29, from /usr/local/include/boost/mpl/lambda.hpp:22, from /usr/local/include/boost/mpl/apply.hpp:25, from /usr/local/include/boost/mpl/aux_/iter_apply.hpp:17, from /usr/local/include/boost/mpl/aux_/find_if_pred.hpp:14, from /usr/local/include/boost/mpl/find_if.hpp:17, from /usr/local/include/boost/mpl/find.hpp:17, from /usr/local/include/boost/mpl/aux_/contains_impl.hpp:20, from /usr/local/include/boost/mpl/contains.hpp:20, from /usr/local/include/boost/multi_index_container.hpp:26, from /usr/local/include/boost/property_tree/ptree.hpp:21, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/robotmain.cpp:28: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: At global scope: /usr/local/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:15:36: warning: use of old-style cast to 'unsigned int' [-Wold-style-cast] typedef char (&type)[(unsigned)N + 1]; ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/robotmain.cpp:28: /usr/local/include/boost/utility/base_from_member.hpp:137:63: warning: use of old-style cast to 'void*' [-Wold-style-cast] BOOST_NOEXCEPT_IF( BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType( ^ In file included from /usr/local/include/boost/config.hpp:61, from /usr/local/include/boost/property_tree/ptree_fwd.hpp:14, from /usr/local/include/boost/property_tree/ptree.hpp:15, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/robotmain.cpp:28: /usr/local/include/boost/multi_index/detail/seq_index_ops.hpp:111:52: warning: use of old-style cast to 'std::size_t' {aka 'long unsigned int'} [-Wold-style-cast] (std::size_t)std::numeric_limits::digits+1); ^~~~~~ In file included from /usr/local/include/boost/multi_index/detail/ord_index_impl.hpp:65, from /usr/local/include/boost/multi_index/ordered_index.hpp:17, from /usr/local/include/boost/property_tree/ptree.hpp:24, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/common/config_file.h:29, from /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/robotmain.cpp:28: /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator boost::multi_index::detail::ordered_index_node_compressed_base::pointer() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(*r&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:176:50: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref& boost::multi_index::detail::ordered_index_node_compressed_base::parent_ref::operator=(boost::multi_index::detail::ordered_index_node_compressed_base::pointer)': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'void*' [-Wold-style-cast] *r=((uintptr_type)(void*)p)|(*r&uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:181:32: warning: use of old-style cast to 'boost::multi_index::detail::uintptr_type' {aka 'long unsigned int'} [-Wold-style-cast] /usr/local/include/boost/multi_index/detail/ord_index_node.hpp: In member function 'boost::multi_index::detail::ordered_index_node_impl* boost::multi_index::detail::ordered_index_node_compressed_base::parent() const': /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'void*' [-Wold-style-cast] return (pointer)(void*)(parentcolor_&~uintptr_type(1)); ^ /usr/local/include/boost/multi_index/detail/ord_index_node.hpp:208:58: warning: use of old-style cast to 'boost::multi_index::detail::ordered_index_node_compressed_base::pointer' [-Wold-style-cast] [70/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/level/scene_conditions.cpp.o -MF src/CMakeFiles/colobotbase.dir/level/scene_conditions.cpp.o.d -o src/CMakeFiles/colobotbase.dir/level/scene_conditions.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/scene_conditions.cpp [71/279] /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/level/scoreboard.cpp.o -MF src/CMakeFiles/colobotbase.dir/level/scoreboard.cpp.o.d -o src/CMakeFiles/colobotbase.dir/level/scoreboard.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/scoreboard.cpp FAILED: src/CMakeFiles/colobotbase.dir/level/scoreboard.cpp.o /usr/obj/ports/colobot-0.1.12/bin/c++ -DBOOST_NO_CXX11_SCOPED_ENUMS -DBOOST_NO_SCOPED_ENUMS -DHAVE_DEMANGLE -DNOEXCEPT=noexcept -DTEST_VIRTUAL="" -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src -I/usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/.. -I/usr/obj/ports/colobot-0.1.12/build-sparc64/src -isystem /usr/local/include/AL -isystem /usr/local/include/SDL2 -isystem /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/lib/localename -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -std=gnu++11 -Wall -Wold-style-cast -pedantic-errors -Wmissing-declarations -Wno-error=deprecated-declarations -Wsuggest-override -DNDEBUG -MD -MT src/CMakeFiles/colobotbase.dir/level/scoreboard.cpp.o -MF src/CMakeFiles/colobotbase.dir/level/scoreboard.cpp.o.d -o src/CMakeFiles/colobotbase.dir/level/scoreboard.cpp.o -c /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/scoreboard.cpp /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/scoreboard.cpp: In member function 'std::vector > CScoreboard::GetSortedScores()': /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/scoreboard.cpp:161:10: error: 'transform' is not a member of 'std' std::transform(teams.begin(), teams.end(), sortedTeams.begin(), [&](int team) ^~~~~~~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/scoreboard.cpp:167:14: error: 'sort' is not a member of 'std' std::sort(sortedTeams.begin(), sortedTeams.end(), [&](std::pair teamA, std::pair teamB) ^~~~ /usr/obj/ports/colobot-0.1.12/colobot-colobot-gold-0.1.12-alpha/src/level/scoreboard.cpp:167:14: note: suggested alternative: 'sqrt' std::sort(sortedTeams.begin(), sortedTeams.end(), [&](std::pair teamA, std::pair teamB) ^~~~ sqrt ninja: build stopped: subcommand failed. *** Error 1 in games/colobot/colobot (/usr/ports/devel/cmake/cmake.port.mk:50 'do-build': @cd /usr/obj/ports/colobot-0.1.12/build-sparc64 &&...) *** Error 2 in games/colobot/colobot (/usr/ports/infrastructure/mk/bsd.port.mk:3065 '/usr/obj/ports/colobot-0.1.12/build-sparc64/.build_done') *** Error 2 in games/colobot/colobot (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=colobot-0.1.12; export _LOCKS_HELD=" col...) ===> Exiting games/colobot/colobot with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1731397645.69 max_stuck=247.73/waiting-for-lock #131=27.69/depends=54.32/show-prepare-results=22.09/patch=4.20/configure=22.61/build=2720.40 Error: job failed with 512 on sparc64-2d at 1731397645