+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/gemrb-0.9.2nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/gemrb-0.9.2nb4/work.log WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead. ===> Building for gemrb-0.9.2nb4 [ 1%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Ambient.cpp.o [ 1%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/AmbientMgr.cpp.o [ 1%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/AnimationFactory.cpp.o [ 2%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Animation.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Ambient.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Ambient.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 2%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Audio.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/AnimationFactory.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/AnimationFactory.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/AmbientMgr.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/AmbientMgr.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Animation.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Animation.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 3%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Calendar.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 3%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/CharAnimations.cpp.o [ 4%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Core.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Calendar.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Calendar.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Animation.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/CharAnimations.h:27, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/CharAnimations.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Core.cpp:27: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 4%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Dialog.cpp.o [ 5%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/DialogHandler.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::CharAnimations::AvatarTableLoader::AvatarTableLoader()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/CharAnimations.cpp:124:39: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::CharAnimations::AvatarTableLoader::AvatarTableLoader()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/CharAnimations.cpp:223:44: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Dialog.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Dialog.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 5%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/DisplayMessage.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Dialog.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/DialogHandler.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/DialogHandler.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const GemRB::FixedSizeString<8, strncasecmp>&, fmt::WideToChar&, fmt::WideToChar&}; Context = fmt::v8::basic_format_context; Args = {GemRB::FixedSizeString<8, strncasecmp>, fmt::WideToChar, fmt::WideToChar}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const GemRB::FixedSizeString<8, strncasecmp>&, fmt::WideToChar&, fmt::WideToChar&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {const GemRB::FixedSizeString<8, strncasecmp>&, fmt::WideToChar, fmt::WideToChar}; std::string = std::__cxx11::basic_string; format_string = basic_format_string&, fmt::WideToChar, fmt::WideToChar>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {const FixedSizeString<8, strncasecmp>&, fmt::WideToChar, fmt::WideToChar}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/DialogHandler.cpp:118:6: required from here 118 | Log(ERROR, "DialogHandler", "Cannot start dialog ({}): {} with {}", dialogRef, fmt::WideToChar{spk->GetName()}, fmt::WideToChar{tgt->GetName()}); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Actor* GemRB::FindBanter(const Scriptable*, const ResRef&)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/DialogHandler.cpp:237:41: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In member function 'void GemRB::FixedSizeString::Append(const STR&) [with STR = GemRB::FixedSizeString<8, strncasecmp>; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::CharAnimations::GetVHREquipmentRef(GemRB::ResRef&, unsigned char&, GemRB::AnimRef, bool, const GemRB::EquipResRefData&) const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/CharAnimations.cpp:1925:13: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:129:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying between 0 and 8 bytes from a string of length 8 [-Wstringop-truncation] 129 | strncpy(str + len, std::begin(s), LEN - len); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/TableMgr.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/strrefs.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/DisplayMessage.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/DisplayMessage.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context >, wchar_t>; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context >, wchar_t>; Args = {const std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:844:18: required from 'fmt::v8::format_arg_store::value, fmt::v8::appender, std::back_insert_iterator > >::type, Char>, typename std::remove_reference::type ...> fmt::v8::make_args_checked(const S&, remove_reference_t& ...) [with Args = {const std::__cxx11::basic_string, std::allocator >&}; S = GemRB::::FMT_COMPILE_STRING; Char = wchar_t; typename std::conditional::value, appender, std::back_insert_iterator > >::type = std::back_insert_iterator >]' 844 | return {args...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/xchar.h:95:54: required from 'std::__cxx11::basic_string fmt::v8::format(const S&, Args&& ...) [with S = GemRB::::FMT_COMPILE_STRING; Args = {const std::__cxx11::basic_string, std::allocator >&}; Char = wchar_t; typename std::enable_if<(! std::is_same::value), int>::type = 0]' 95 | const auto& vargs = fmt::make_args_checked(format_str, args...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/DisplayMessage.cpp:161:33: required from here 161 | DisplayMarkupString(fmt::format(DisplayFormatSimple, text)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >, wchar_t> >().fmt::v8::detail::arg_mapper >, wchar_t> >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 6%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Effect.cpp.o [ 6%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/EffectQueue.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Effect.h:30, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Effect.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 6%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Factory.cpp.o [ 7%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/FogRenderer.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Factory.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Factory.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Effect.h:30, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/EffectQueue.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/EffectQueue.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 7%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/FontManager.cpp.o /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/EffectQueue.cpp:2169:16: required from here 2169 | if (print) Log(DEBUG, "EffectQueue", "{}", buffer); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {int&, int&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {int, int, std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {int&, int&, const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {int&, int&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {int&, int&, const std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:54:5: required from 'void GemRB::error(const char*, const char*, ARGS&& ...) [with ARGS = {int&, int&, const std::__cxx11::basic_string, std::allocator >&}]' 54 | Log(FATAL, owner, format, std::forward(args)...); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/EffectQueue.cpp:127:10: required from here 127 | error("EffectQueue", "Clashing Opcodes FN: {} vs. {}, {}", i, poi->opcode, effectname); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/FogRenderer.h:27, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/FogRenderer.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/FileCache.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Plugin.h:34, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Resource.h:30, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/FontManager.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/FontManager.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 8%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/Button.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::EffectQueue::RemoveLevelEffects(GemRB::ieDword, GemRB::ieDword, GemRB::ieDword, const GemRB::Scriptable*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/EffectQueue.cpp:1693:48: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static GemRB::Effect* GemRB::EffectQueue::CreateUnsummonEffect(const GemRB::Effect*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/EffectQueue.cpp:418:49: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 8%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/Console.cpp.o [ 9%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/Control.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GUIAnimation.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Button.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Button.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextArea.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Console.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Console.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: required from 'static void fmt::v8::detail::value::format_custom_arg(void*, typename Context::parse_context_type&, Context&) [with T = fmt::WideToChar; Formatter = fmt::v8::formatter; Context = fmt::v8::basic_format_context; typename Context::parse_context_type = fmt::v8::basic_format_parse_context]' 1282 | ctx.advance_to(f.format(*static_cast(arg), ctx)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1261:19: required from 'fmt::v8::detail::value::value(T&) [with T = const fmt::WideToChar; Context = fmt::v8::basic_format_context]' 1261 | custom.format = format_custom_arg< | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 1262 | value_type, | ~~~~~~~~~~~ 1263 | conditional_t::value, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1264 | typename Context::template formatter_type, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1265 | fallback_formatter>>; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::WideToChar&}; Context = fmt::v8::basic_format_context; Args = {fmt::WideToChar}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {fmt::WideToChar&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {fmt::WideToChar}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Console.cpp:156:26: required from here 156 | commands += fmt::format("{}\n", fmt::WideToChar{cmd}); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 9%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/EventMgr.cpp.o [ 10%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/GUIAnimation.cpp.o [ 10%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/GUIFactory.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GUIScriptInterface.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GUIFactory.h:29, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GUIFactory.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 10%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/GUIScriptInterface.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/EventMgr.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/EventMgr.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GUIAnimation.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GUIAnimation.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/GameControl.cpp.o [ 11%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/Label.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GUIScriptInterface.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GUIScriptInterface.cpp:19: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 12%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/MapControl.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GameControl.h:30, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GameControl.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Label.h:30, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Label.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator > >]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GameControl.cpp:833:8: required from here 833 | Log(DEBUG, "Game", "{}", game->dump()); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 12%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/Progressbar.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/AnimationFactory.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/MapControl.h:29, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/MapControl.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 13%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/ScrollBar.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Formations::Formations()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GameControl.cpp:66:38: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 13%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/ScrollView.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Progressbar.h:29, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Progressbar.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'bool GemRB::GameControl::ShouldTriggerWorldMap(const GemRB::Actor*) const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GameControl.cpp:2075:71: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 13%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/Slider.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/ScrollBar.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/ScrollBar.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GUIAnimation.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/ScrollView.h:23, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/ScrollView.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/TextArea.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Slider.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Slider.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/TextEdit.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextArea.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextArea.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const char*, size_type) [with long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'virtual bool GemRB::GameControl::OnKeyRelease(const GemRB::KeyboardEvent&, short unsigned int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/GameControl.cpp:867:47: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:88:32: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 88 | strncpy(str, cstr, len); | ~~~~~~~^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextEdit.h:30, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextEdit.cpp:22: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 15%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/TextSystem/Font.cpp.o [ 15%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/TextSystem/GemMarkup.cpp.o [ 16%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/TextSystem/TextContainer.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextSystem/Font.h:35, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextSystem/Font.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextSystem/Font.h:35, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextSystem/TextContainer.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextSystem/GemMarkup.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextSystem/GemMarkup.cpp:19: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::WideToChar&, const int&}; Context = fmt::v8::basic_format_context; Args = {fmt::WideToChar, int}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {fmt::WideToChar&, const int&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {fmt::WideToChar, const int&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {fmt::WideToChar, const int&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextSystem/Font.cpp:339:13: required from here 339 | Log(MESSAGE, "Font", "Horizontal alignment invalidated for '{}' due to insufficient width {}", fmt::WideToChar{line}, lineSize.w); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextSystem/Font.h:35, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextSystem/TextContainer.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/TextSystem/TextContainer.cpp:19: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/Tooltip.cpp.o [ 17%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/View.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Tooltip.h:23, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Tooltip.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/Window.cpp.o [ 17%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/WindowManager.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/View.h:23, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/View.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 18%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GUI/WorldMapControl.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Window.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Window.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/WindowManager.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/WindowManager.cpp:19: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 18%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Game.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/Control.h:44, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/WorldMapControl.h:30, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GUI/WorldMapControl.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 19%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GameData.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context >, wchar_t>; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, const int&}; Context = fmt::v8::basic_format_context >, wchar_t>; Args = {std::__cxx11::basic_string, std::allocator >, int}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:844:18: required from 'fmt::v8::format_arg_store::value, fmt::v8::appender, std::back_insert_iterator > >::type, Char>, typename std::remove_reference::type ...> fmt::v8::make_args_checked(const S&, remove_reference_t& ...) [with Args = {std::__cxx11::basic_string, std::allocator >, int&}; S = wchar_t [7]; Char = wchar_t; typename std::conditional::value, appender, std::back_insert_iterator > >::type = std::back_insert_iterator >]' 844 | return {args...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/xchar.h:95:54: required from 'std::__cxx11::basic_string fmt::v8::format(const S&, Args&& ...) [with S = wchar_t [7]; Args = {std::__cxx11::basic_string, std::allocator >, int&}; Char = wchar_t; typename std::enable_if<(! std::is_same::value), int>::type = 0]' 95 | const auto& vargs = fmt::make_args_checked(format_str, args...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:1208:29: required from here 1208 | String text = fmt::format(L"{}: {}", core->GetString(complaint), xp); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >, wchar_t> >().fmt::v8::detail::arg_mapper >, wchar_t> >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 19%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GameScript/Actions.cpp.o /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::WideToChar&}; Context = fmt::v8::basic_format_context; Args = {fmt::WideToChar}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {fmt::WideToChar&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {fmt::WideToChar}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {fmt::WideToChar}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:1254:7: required from here 1254 | Log(MESSAGE, "Game", "Actor {} is not near!", fmt::WideToChar{pc->GetName()}); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Game::LoadCRTable()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:1135:39: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::Game::LeaveParty(GemRB::Actor*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:380:19: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Game::Game()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:86:39: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Game::Game()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:109:14: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In member function 'GemRB::FixedSizeString& GemRB::FixedSizeString::operator=(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Game::Game()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:111:8: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:101:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 101 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Game::InitActorPos(GemRB::Actor*) const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:406:39: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Game::InitActorPos(GemRB::Actor*) const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:433:29: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::Game::JoinParty(GemRB::Actor*, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:471:40: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'bool GemRB::Game::RandomEncounter(GemRB::ResRef&) const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:2259:39: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GameScript.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, fmt::WideToChar&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, fmt::WideToChar}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&, fmt::WideToChar&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, fmt::WideToChar}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, fmt::WideToChar>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:6085:39: required from here 6085 | std::string FolderName = fmt::format("{} - {}", basename, fmt::WideToChar{str}); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GameScript/GSUtils.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetRacialTHAC0Bonus(GemRB::ieDword, const std::string&)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:491:38: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'bool GemRB::GameData::HasInfravision(const std::string&)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:503:41: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetSpellAbilityDie(const GemRB::Actor*, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:511:39: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetTrapSaveBonus(GemRB::ieDword, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:525:37: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetTrapLimit(GemRB::Scriptable*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:532:33: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetSummoningLimit(GemRB::ieDword)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:553:38: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetReputationMod(int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:693:37: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::GameData::GetFist(int, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:817:32: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetWeaponStyleBonus(int, int, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:860:95: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetWeaponStyleBonus(int, int, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:860:95: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetWeaponStyleBonus(int, int, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:860:95: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetWeaponStyleBonus(int, int, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:860:95: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetWSpecialBonus(int, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:892:32: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'const std::vector& GemRB::GameData::GetBonusSpells(int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:919:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'const std::vector& GemRB::GameData::GetBonusSpells(int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:917:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetMiscRule(const GemRB::TableMgr::key_t&)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:1005:32: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::GameData::GetDifficultyMod(GemRB::ieDword, GemRB::ieDword)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:1018:40: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: required from 'static void fmt::v8::detail::value::format_custom_arg(void*, typename Context::parse_context_type&, Context&) [with T = fmt::WideToChar; Formatter = fmt::v8::formatter; Context = fmt::v8::basic_format_context; typename Context::parse_context_type = fmt::v8::basic_format_parse_context]' 1282 | ctx.advance_to(f.format(*static_cast(arg), ctx)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1261:19: required from 'fmt::v8::detail::value::value(T&) [with T = const fmt::WideToChar; Context = fmt::v8::basic_format_context]' 1261 | custom.format = format_custom_arg< | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 1262 | value_type, | ~~~~~~~~~~~ 1263 | conditional_t::value, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1264 | typename Context::template formatter_type, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1265 | fallback_formatter>>; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, fmt::WideToChar&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, fmt::WideToChar}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&, fmt::WideToChar&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, fmt::WideToChar}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, fmt::WideToChar>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:6085:39: required from here 6085 | std::string FolderName = fmt::format("{} - {}", basename, fmt::WideToChar{str}); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ieByte GemRB::GameData::GetItemAnimation(const GemRB::ResRef&)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.cpp:951:30: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'int GemRB::Game::FindMap(const GemRB::ResRef&) const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:664:34: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'int GemRB::Game::DelMap(unsigned int, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:760:40: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'int GemRB::Game::DelMap(unsigned int, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:777:65: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'int GemRB::Game::DelMap(unsigned int, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:750:34: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const char*, size_type) [with long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Game::PlayerDream() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:1587:51: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:88:32: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 88 | strncpy(str, cstr, len); | ~~~~~~~^~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const char*, size_type) [with long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Game::Game()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:96:75: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:88:32: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 88 | strncpy(str, cstr, len); | ~~~~~~~^~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const char*, size_type) [with long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Game::Game()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:97:73: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:88:32: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 88 | strncpy(str, cstr, len); | ~~~~~~~^~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const char*, size_type) [with long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Game::Game()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:98:77: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:88:32: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 88 | strncpy(str, cstr, len); | ~~~~~~~^~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'int GemRB::Game::AddMap(GemRB::Map*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Game.cpp:729:34: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In member function 'GemRB::FixedSizeString& GemRB::FixedSizeString::operator=(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::CreateCreatureDoor(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:745:33: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:101:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 101 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In member function 'GemRB::FixedSizeString& GemRB::FixedSizeString::operator=(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::CreateCreatureObjectDoor(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:753:33: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:101:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 101 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::JoinParty(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:3055:17: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::PickPockets(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:4583:42: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::PickPockets(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:4602:45: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::SaveGame(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:6080:38: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GameScript.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.h:23, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:1038:5: required from here 1038 | Log(MESSAGE, "GSUtils", "Executing {} in EscapeAreaCore", Tmp); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::ChangeStatGlobal(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:386:31: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'static void GemRB::GameScript::JumpToObject(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:620:75: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'static void GemRB::GameScript::JumpToObject(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:621:48: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::WideToChar&, const GemRB::FixedSizeString<8, strncasecmp>&, const int&, const int&, int&}; Context = fmt::v8::basic_format_context; Args = {fmt::WideToChar, GemRB::FixedSizeString<8, strncasecmp>, int, int, int}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {fmt::WideToChar&, const GemRB::FixedSizeString<8, strncasecmp>&, const int&, const int&, int&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {fmt::WideToChar, const GemRB::FixedSizeString<8, strncasecmp>&, const int&, const int&, int&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string&, const int&, const int&, int&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {fmt::WideToChar, const FixedSizeString<8, strncasecmp>&, const int&, const int&, int&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:1365:5: required from here 1365 | Log(MESSAGE, "GameScript", "MoveBetweenAreas: {} to {} [{}.{}] face: {}", | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1366 | fmt::WideToChar{actor->GetShortName()}, area, position.x, position.y, face); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::GivePartyGoldGlobal(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:2828:30: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::AddExperiencePartyGlobal(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:2964:28: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::GetItem(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:4067:14: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::TakePartyItem(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:4076:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::TakePartyItemNum(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:4089:25: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::TakePartyItemRange(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:4104:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::TakePartyItemAll(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:4114:22: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::GiveItem(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:4122:14: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::TakeItemReplace(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:4257:38: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::ChangeAnimationCore(Actor*, const ResRef&, bool)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:1009:26: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::AddXPCore(const Action*, bool)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:2942:32: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::BeginDialog(Scriptable*, const Action*, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:1252:33: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 32; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::SpawnPtActivate(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:6313:31: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 32 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 32; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::SpawnPtDeactivate(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:6324:31: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 32 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 32; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::SpawnPtSpawn(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:6335:31: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 32 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::ForceRandomEncounter(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:7621:39: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 32; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'bool GemRB::VariableExists(const Scriptable*, const StringParam&, const VarContext&)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:2312:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 32 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 20%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GameScript/GameScript.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::MoveContainerContents(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:5857:22: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::MoveContainerContents(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:5866:22: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 21%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GameScript/Matching.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GameScript.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GameScript.cpp:42: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GameScript.cpp:1550:37: required from here 1550 | std::string buffer = fmt::format("{} is in collision with ", triggersTable->GetStringIndex(j)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GameScript.cpp:1552:8: required from here 1552 | Log(WARNING, "GameScript", "{}", buffer); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In member function 'GemRB::FixedSizeString& GemRB::FixedSizeString::operator=(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 32; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static void GemRB::GameScript::SetNoOneOnTrigger(GemRB::Scriptable*, GemRB::Action*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Actions.cpp:6416:34: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:101:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 32 bytes from a string of length 64 [-Wstringop-truncation] 101 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'void GemRB::MoveNearerTo(Scriptable*, const Scriptable*, int, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:1931:67: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'void GemRB::MoveBetweenAreasCore(Actor*, const ResRef&, const Point&, int, bool)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:1371:61: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GameScript.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Matching.h:23, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Matching.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'void GemRB::MoveGlobalObjectCore(Scriptable*, const Action*, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:3119:75: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'void GemRB::MoveGlobalObjectCore(Scriptable*, const Action*, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:3120:48: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 32; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ieDword GemRB::CheckVariable(const Scriptable*, const StringParam&, VarContext, bool*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:2246:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 32 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const char*, size_type) [with long unsigned int LEN = 32; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ieDword GemRB::CheckVariable(const Scriptable*, const StringParam&, VarContext, bool*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:2265:27: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:88:32: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 32 bytes from a string of length 64 [-Wstringop-truncation] 88 | strncpy(str, cstr, len); | ~~~~~~~^~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {int&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {int, std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {int&, const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {int&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {int&, const std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Matching.cpp:83:7: required from here 83 | Log(WARNING, "GameScript", "Unknown object filter: {} {}", | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | filterid, objectsTable->GetValue(filterid)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 32; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::SetVariable(Scriptable*, const StringParam&, ieDword, VarContext)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:2190:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 32 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const char*, size_type) [with long unsigned int LEN = 32; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::SetVariable(Scriptable*, const StringParam&, ieDword, VarContext)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:2209:27: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:88:32: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 32 bytes from a string of length 64 [-Wstringop-truncation] 88 | strncpy(str, cstr, len); | ~~~~~~~^~~~~~~~~~~~~~~~ In member function 'GemRB::FixedSizeString& GemRB::FixedSizeString::operator=(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::BeginDialog(Scriptable*, const Action*, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GSUtils.cpp:1218:25: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:101:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 101 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::InitializeIEScript()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GameScript.cpp:1796:17: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::InitializeIEScript()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GameScript.cpp:1799:43: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 21%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GameScript/Objects.cpp.o [ 21%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GameScript/Triggers.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GameScript.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Objects.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'GemRB::Targets* GemRB::EvaluateObject(const Map*, const Scriptable*, const Object*, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Matching.cpp:177:56, inlined from 'GemRB::Targets* GemRB::GetAllObjects(const Map*, Scriptable*, const Object*, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Matching.cpp:228:32: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 32; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Scriptable* GemRB::GetScriptableFromObject(Scriptable*, const Object*, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Matching.cpp:340:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 32 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 22%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Geometry.cpp.o [ 22%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/GlobalTimer.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/GameScript.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Geometry.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Geometry.cpp:22: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 23%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ImageFactory.cpp.o [ 23%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ImageMgr.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GlobalTimer.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GlobalTimer.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static int GemRB::GameScript::RealGlobalTimerExact(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:797:32: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static int GemRB::GameScript::RealGlobalTimerExpired(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:809:32: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static int GemRB::GameScript::RealGlobalTimerNotExpired(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:818:32: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static int GemRB::GameScript::GlobalTimerExact(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:827:32: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static int GemRB::GameScript::GlobalTimerExpired(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:836:32: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static int GemRB::GameScript::GlobalTimerNotExpired(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:848:32: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static int GemRB::GameScript::GlobalTimerStarted(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:856:29: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 24%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/IniSpawn.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'static int GemRB::GameScript::AreaCheck(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:2728:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'static int GemRB::GameScript::AreaCheckObject(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:2745:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'static int GemRB::GameScript::AreaStartsWith(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:2782:55: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ImageFactory.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ImageFactory.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/FileCache.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Plugin.h:34, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Resource.h:30, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ImageMgr.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ImageMgr.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 24%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Interface.cpp.o [ 25%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/InterfaceConfig.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/InterfaceConfig.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {int&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {int, std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {int&, std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {int&, std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {int&, std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/InterfaceConfig.cpp:164:7: required from here 164 | Log(WARNING, "Config", "Invalid line {}: {}", lineno, line); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/IniSpawn.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/IniSpawn.cpp:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'static int GemRB::GameScript::CurrentAreaIs(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:2761:55: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<64, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'static int GemRB::GameScript::Switch(GemRB::Scriptable*, const GemRB::Trigger*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameScript/Triggers.cpp:4773:31: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 64 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 25%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Inventory.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, GemRB::FixedSizeString<8, strncasecmp>&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, GemRB::FixedSizeString<8, strncasecmp>}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&, GemRB::FixedSizeString<8, strncasecmp>&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, GemRB::FixedSizeString<8, strncasecmp>&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, GemRB::FixedSizeString<8, strncasecmp>&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {const std::__cxx11::basic_string, std::allocator >&, FixedSizeString<8, strncasecmp>&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:750:7: required from here 750 | Log(MESSAGE, "Core", "Loaded Font: {} for ResRef {}", font_name, resref); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, char (&)[1024]}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, char [1024]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&, char (&)[1024]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, char (&)[1024]}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, char (&)[1024]>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&, char (&)[1024]}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:1821:5: required from here 1821 | Log(MESSAGE, "Core", "Loading encoding definition for {}: '{}'", config.Encoding, | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1822 | inifile->originalfile); | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'bool GemRB::Interface::ReadGameTimeTable()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:478:39: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'bool GemRB::Interface::ReadSoundChannelsTable() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:535:36: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 25%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Item.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Inventory.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Inventory.cpp:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Interface::Interface()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:218:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Inventory.cpp:1667:16: required from here 1667 | if (print) Log(DEBUG, "Inventory", "{}", buffer); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::AbilityTables::AbilityTables(int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:123:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::AbilityTables::AbilityTables(int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:131:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::AbilityTables::AbilityTables(int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:147:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::AbilityTables::AbilityTables(int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:152:25: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'bool GemRB::Interface::ReadDamageTypeTable()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:516:36: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'bool GemRB::Interface::ReadRandomItems()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:3456:37: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'bool GemRB::Interface::InitItemTypes()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:2920:36: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'bool GemRB::Interface::InitItemTypes()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:2957:36: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'bool GemRB::Interface::InitItemTypes()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:2974:36: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::Interface::Init(const GemRB::InterfaceConfig*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:1333:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 26%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ItemMgr.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Item.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Item.cpp:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Item.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ItemMgr.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ItemMgr.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ItemMgr::ItemMgr()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ItemMgr.cpp:30:38: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ItemMgr::ItemMgr()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ItemMgr.cpp:31:35: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 26%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/KeyMap.cpp.o [ 27%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Light.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/KeyMap.h:27, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/KeyMap.cpp:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/KeyMap.cpp:84:7: required from here 84 | Log(WARNING, "KeyMap", "Ignoring key {}", val); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 27%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Logging/Logger.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/String.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logger.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Palette.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Sprite2D.h:35, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Light.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Light.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 28%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Logging/Loggers/Stdio.cpp.o [ 28%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Logging/Logging.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'int GemRB::Interface::SwapoutArea(GemRB::Map*) const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:3990:36: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'int GemRB::Interface::SwapoutArea(GemRB::Map*) const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:3985:37: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ResRef GemRB::Map::GetScriptRef() const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:526:52, inlined from 'int GemRB::Interface::SwapoutArea(GemRB::Map*) const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:3966:36: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/FileStream.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Loggers/Stdio.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/String.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.cpp:19: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context >, wchar_t>; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const wchar_t* const&, const std::__cxx11::basic_string, std::allocator >&, const wchar_t* const&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context >, wchar_t>; Args = {const wchar_t*, std::__cxx11::basic_string, std::allocator >, const wchar_t*, std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:844:18: required from 'fmt::v8::format_arg_store::value, fmt::v8::appender, std::back_insert_iterator > >::type, Char>, typename std::remove_reference::type ...> fmt::v8::make_args_checked(const S&, remove_reference_t& ...) [with Args = {const wchar_t*&, std::__cxx11::basic_string, std::allocator >&, const wchar_t*&, std::__cxx11::basic_string, std::allocator >&}; S = wchar_t [28]; Char = wchar_t; typename std::conditional::value, appender, std::back_insert_iterator > >::type = std::back_insert_iterator >]' 844 | return {args...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/xchar.h:95:54: required from 'std::__cxx11::basic_string fmt::v8::format(const S&, Args&& ...) [with S = wchar_t [28]; Args = {const wchar_t*&, std::__cxx11::basic_string, std::allocator >&, const wchar_t*&, std::__cxx11::basic_string, std::allocator >&}; Char = wchar_t; typename std::enable_if<(! std::is_same::value), int>::type = 0]' 95 | const auto& vargs = fmt::make_args_checked(format_str, args...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.cpp:92:29: required from here 92 | ta->AppendText(fmt::format(L"{}{}: [/color]{}{}[/color]\n", colors[msg.color], *decodedOwner, colors[log_level_color[level]], *decodedMsg)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >, wchar_t> >().fmt::v8::detail::arg_mapper >, wchar_t> >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 28%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Map.cpp.o [ 29%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/MapReverb.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const char*, size_type) [with long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::Interface::Init(const GemRB::InterfaceConfig*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.cpp:1280:50: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:88:32: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 88 | strncpy(str, cstr, len); | ~~~~~~~^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/MapReverb.h:4, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/MapReverb.cpp:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.cpp:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 29%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/MoviePlayer.cpp.o /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.cpp:2828:5: required from here 2828 | Log(DEBUG, "Map", "{}", buffer); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 30%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Palette.cpp.o /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::WideToChar&, unsigned int&, const GemRB::FixedSizeString<32, strncasecmp>&, GemRB::Point&}; Context = fmt::v8::basic_format_context; Args = {fmt::WideToChar, unsigned int, GemRB::FixedSizeString<32, strncasecmp>, GemRB::Point}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {fmt::WideToChar&, unsigned int&, const GemRB::FixedSizeString<32, strncasecmp>&, GemRB::Point&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {fmt::WideToChar, unsigned int, const GemRB::FixedSizeString<32, strncasecmp>&, GemRB::Point&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string&, GemRB::Point&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/String.h:191:37: required from 'std::string& GemRB::AppendFormat(std::string&, const std::string&, ARGS&& ...) [with ARGS = {fmt::WideToChar, unsigned int, const FixedSizeString<32, strncasecmp>&, Point&}; std::string = std::__cxx11::basic_string]' 191 | std::string formatted = fmt::format(fmt, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.cpp:2824:17: required from here 2824 | AppendFormat(buffer, "Actor: {} ({} {}) at {}\n", fmt::WideToChar{actor->GetName()}, actor->GetGlobalID(), actor->GetScriptName(), actor->Pos); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Map::DrawPortal(const GemRB::InfoPoint*, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.cpp:635:37: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/MoviePlayer.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/MoviePlayer.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Spawns::Spawns()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.cpp:227:38: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Palette.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Palette.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 30%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/PalettedImageMgr.cpp.o [ 31%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Particles.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/FileCache.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Plugin.h:34, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Resource.h:30, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/PalettedImageMgr.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/PalettedImageMgr.cpp:19: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 31%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/PathFinder.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Map::LoadIniSpawn()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.cpp:3050:50: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 32%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/PluginMgr.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::Map::Map(GemRB::TileMap*, GemRB::TileProps, GemRB::Holder)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.cpp:418:42: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Particles.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Particles.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/PluginMgr.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/PluginMgr.cpp:19: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::InitSparks()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Particles.cpp:49:37: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 32%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Polygon.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/GameData.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/PathFinder.cpp:38: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const GemRB::Point&, const GemRB::Point&, std::__cxx11::basic_string, std::allocator >&, unsigned int&, unsigned int&}; Context = fmt::v8::basic_format_context; Args = {GemRB::Point, GemRB::Point, std::__cxx11::basic_string, std::allocator >, unsigned int, unsigned int}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const GemRB::Point&, const GemRB::Point&, std::__cxx11::basic_string, std::allocator >&, unsigned int&, unsigned int&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {const GemRB::Point&, const GemRB::Point&, std::__cxx11::basic_string, std::allocator >, unsigned int&, unsigned int&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned int&, unsigned int&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {const Point&, const Point&, std::__cxx11::basic_string, std::allocator >, unsigned int&, unsigned int&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/PathFinder.cpp:298:43: required from here 298 | if (core->InDebugMode(ID_PATHFINDER)) Log(DEBUG, "FindPath", "s = {}, d = {}, caller = {}, dist = {}, size = {}", s, d, caller ? MBStringFromString(caller->GetShortName()) : "nullptr", minDistance, size); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 32%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Projectile.cpp.o /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::WideToChar&}; Context = fmt::v8::basic_format_context; Args = {fmt::WideToChar}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {fmt::WideToChar&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {fmt::WideToChar}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {fmt::WideToChar}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/PathFinder.cpp:446:7: required from here 446 | Log(DEBUG, "FindPath", "Pathing failed for {}", fmt::WideToChar{caller->GetShortName()}); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In member function 'GemRB::FixedSizeString& GemRB::FixedSizeString::operator=(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Map::AddActor(GemRB::Actor*, bool)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Map.cpp:1883:16: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:101:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 101 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Polygon.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Polygon.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Projectile.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Projectile.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 33%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ProjectileServer.cpp.o [ 33%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/RNG.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Projectile::DrawExplosion(const GemRB::Region&)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Projectile.cpp:1460:66: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/RNG.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/RNG.cpp:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 34%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Region.cpp.o [ 34%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ResourceDesc.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Projectile.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ProjectileServer.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ProjectileServer.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ResourceDesc.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ResourceDesc.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 35%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ResourceManager.cpp.o [ 35%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/SaveGameAREExtractor.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ProjectileServer::ProjectileServer()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ProjectileServer.cpp:40:45: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::ProjectileServer::ProjectileServer()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ProjectileServer.cpp:42:42: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 36%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/SaveGameIterator.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/FileCache.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Plugin.h:34, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Resource.h:30, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ResourceManager.h:27, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ResourceManager.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ResourceManager.cpp:93:6: required from here 93 | Log(WARNING, "ResourceManager", "{}", buffer); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {GemRB::StringViewImp&, const char*&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {GemRB::StringViewImp, const char*, std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {GemRB::StringViewImp&, const char*&, const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {GemRB::StringViewImp&, const char*, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string&, const char*, const std::__cxx11::basic_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {StringViewImp&, const char*, const std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ResourceManager.cpp:106:8: required from here 106 | Log(MESSAGE, "ResourceManager", "Found '{}.{}' in '{}'.", ResRef, core->TypeExt(type), path->GetDescription()); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/SaveGameAREExtractor.cpp:18: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 36%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ScriptEngine.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/FileCache.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Plugin.h:34, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Resource.h:30, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ResourceManager.h:27, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/SaveGame.h:27, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/SaveGameIterator.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/SaveGameIterator.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {char (&)[1024], std::__cxx11::basic_string, std::allocator >&, const char (&)[2], int&, const GemRB::StringViewImp&}; Context = fmt::v8::basic_format_context; Args = {char [1024], std::__cxx11::basic_string, std::allocator >, char [2], int, GemRB::StringViewImp}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {char (&)[1024], std::__cxx11::basic_string, std::allocator >&, const char (&)[2], int&, const GemRB::StringViewImp&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {char (&)[1024], std::__cxx11::basic_string, std::allocator >, const char (&)[2], int&, const GemRB::StringViewImp&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, const char (&)[2], int&, const GemRB::StringViewImp&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/SaveGameIterator.cpp:363:21: required from here 363 | return fmt::format(FMT_STRING("{}{}{}{:09d}-{}"), core->config.SavePath, SaveDir(), SPathDelimiter, i, folder); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/FileCache.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Plugin.h:34, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ScriptEngine.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ScriptEngine.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 36%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Scriptable/Actor.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::SaveGameIterator::CreateSaveGame(int, bool) const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/SaveGameIterator.cpp:593:37: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 37%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Scriptable/CombatInfo.cpp.o [ 37%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Scriptable/Container.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Interface.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/CombatInfo.cpp:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/CombatInfo.cpp:190:5: required from here 190 | Log(DEBUG, "ArmorClass", "{}", buffer); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::WideToChar&}; Context = fmt::v8::basic_format_context; Args = {fmt::WideToChar}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {fmt::WideToChar&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {fmt::WideToChar}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/String.h:191:37: required from 'std::string& GemRB::AppendFormat(std::string&, const std::string&, ARGS&& ...) [with ARGS = {fmt::WideToChar}; std::string = std::__cxx11::basic_string]' 191 | std::string formatted = fmt::format(fmt, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/CombatInfo.cpp:185:14: required from here 185 | AppendFormat(buffer, "Debugdump of ArmorClass of {}:\n", fmt::WideToChar{Owner->GetName()}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Scriptable.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:25: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Inventory.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Container.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Container.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Container.cpp:252:5: required from here 252 | Log(DEBUG, "Container", "{}", buffer); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context >, wchar_t>; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context >, wchar_t>; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:844:18: required from 'fmt::v8::format_arg_store::value, fmt::v8::appender, std::back_insert_iterator > >::type, Char>, typename std::remove_reference::type ...> fmt::v8::make_args_checked(const S&, remove_reference_t& ...) [with Args = {std::__cxx11::basic_string, std::allocator >}; S = wchar_t [5]; Char = wchar_t; typename std::conditional::value, appender, std::back_insert_iterator > >::type = std::back_insert_iterator >]' 844 | return {args...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/xchar.h:95:54: required from 'std::__cxx11::basic_string fmt::v8::format(const S&, Args&& ...) [with S = wchar_t [5]; Args = {std::__cxx11::basic_string, std::allocator >}; Char = wchar_t; typename std::enable_if<(! std::is_same::value), int>::type = 0]' 95 | const auto& vargs = fmt::make_args_checked(format_str, args...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:2999:42: required from here 2999 | static const String text = fmt::format(L"{} 1", core->GetString(ieStrRef::HEAL)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >, wchar_t> >().fmt::v8::detail::arg_mapper >, wchar_t> >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/String.h:191:37: required from 'std::string& GemRB::AppendFormat(std::string&, const std::string&, ARGS&& ...) [with ARGS = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string]' 191 | std::string formatted = fmt::format(fmt, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:1885:16: required from here 1885 | AppendFormat(buffer, "Name: {}, ", classname); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:1890:7: required from here 1890 | Log(DEBUG, "Actor", "{}", buffer); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'int GemRB::CheckInteract(const ieVariable&, const ieVariable&)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:3550:42: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:213:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:221:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:221:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:221:1: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:239:48: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:239:48: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:239:48: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:239:48: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void __static_initialization_and_destruction_0()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:239:48: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::UpdateActorConfig()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:1547:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::UpdateActorConfig()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:1541:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 38%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Scriptable/Door.cpp.o [ 38%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Scriptable/InfoPoint.cpp.o In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Actor::SetAnimationID(unsigned int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:487:50: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'bool GemRB::Actor::GetCombatDetails(int&, bool, int&, int&, int&, int&, const GemRB::Actor*)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:6502:44: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Actor::CreateDerivedStatsBG()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:9821:38: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Actor::ModifyWeaponDamage(GemRB::WeaponInfo&, GemRB::Actor*, int&, bool&)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:9015:58: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Actor::ModifyWeaponDamage(GemRB::WeaponInfo&, GemRB::Actor*, int&, bool&)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:8999:58: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::InitActorTables()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:1613:36: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::InitActorTables()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:2052:26: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::InitActorTables()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:2086:26: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::InitActorTables()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:2124:26: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::InitActorTables()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:2141:26: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::InitActorTables()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:2179:26: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::InitActorTables()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:2219:38: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::InitActorTables()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:2015:27: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Scriptable.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/InfoPoint.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/InfoPoint.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Geometry.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Orientation.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/PathFinder.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Door.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Door.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/InfoPoint.cpp:276:5: required from here 276 | Log(DEBUG, "InfoPoint", "{}", buffer); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Door.cpp:492:5: required from here 492 | Log(DEBUG, "Door", "{}", buffer); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::WideToChar&}; Context = fmt::v8::basic_format_context; Args = {fmt::WideToChar}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {fmt::WideToChar&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {fmt::WideToChar}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/String.h:191:37: required from 'std::string& GemRB::AppendFormat(std::string&, const std::string&, ARGS&& ...) [with ARGS = {fmt::WideToChar}; std::string = std::__cxx11::basic_string]' 191 | std::string formatted = fmt::format(fmt, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/InfoPoint.cpp:265:16: required from here 265 | AppendFormat(buffer, "InfoString: {}\n", fmt::WideToChar{overHead.GetText()}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 39%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Scriptable/OverHeadText.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/OverHeadText.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/OverHeadText.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 39%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Scriptable/PCStatStruct.cpp.o [ 39%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Scriptable/Scriptable.cpp.o In member function 'GemRB::FixedSizeString& GemRB::FixedSizeString::operator=(const STR&) [with STR = GemRB::FixedSizeString<32, strncasecmp>; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::Actor::SetSoundFolder(const GemRB::ieVariable&) const' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:8567:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:101:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 32 [-Wstringop-truncation] 101 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/PCStatStruct.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/PCStatStruct.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Scriptable.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Scriptable.cpp:20: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context >, wchar_t>; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context >, wchar_t>; Args = {const std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:844:18: required from 'fmt::v8::format_arg_store::value, fmt::v8::appender, std::back_insert_iterator > >::type, Char>, typename std::remove_reference::type ...> fmt::v8::make_args_checked(const S&, remove_reference_t& ...) [with Args = {const std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >}; S = wchar_t [8]; Char = wchar_t; typename std::conditional::value, appender, std::back_insert_iterator > >::type = std::back_insert_iterator >]' 844 | return {args...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/xchar.h:95:54: required from 'std::__cxx11::basic_string fmt::v8::format(const S&, Args&& ...) [with S = wchar_t [8]; Args = {const std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >}; Char = wchar_t; typename std::enable_if<(! std::is_same::value), int>::type = 0]' 95 | const auto& vargs = fmt::make_args_checked(format_str, args...); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Scriptable.cpp:852:22: required from here 852 | str = fmt::format(L"{} : {}", spell, target->GetName()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >, wchar_t> >().fmt::v8::detail::arg_mapper >, wchar_t> >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 40%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/ScriptedAnimation.cpp.o /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::WideToChar&}; Context = fmt::v8::basic_format_context; Args = {fmt::WideToChar}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {fmt::WideToChar&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {fmt::WideToChar}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {fmt::WideToChar}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Scriptable.cpp:2185:6: required from here 2185 | Log(DEBUG, "WalkTo", "{}: Path was just abandoned", fmt::WideToChar{actor->GetShortName()}); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const char*, size_type) [with long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::ApplyClab_internal(Actor*, const ResRef&, int, bool, int)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Actor.cpp:612:43: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:88:32: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 8 bytes from a string of length 29 [-Wstringop-truncation] 88 | strncpy(str, cstr, len); | ~~~~~~~^~~~~~~~~~~~~~~~ [ 40%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/SoundMgr.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Audio.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ScriptedAnimation.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/ScriptedAnimation.cpp:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/SoundMgr.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/SoundMgr.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 41%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Spell.cpp.o [ 41%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Spellbook.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Spell.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Spell.cpp:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'void GemRB::AdjustPSTDurations(const Spell*, Effect&, size_t)' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Spell.cpp:153:57: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ In constructor 'GemRB::FixedSizeString::FixedSizeString(const STR&) [with STR = char [9]; typename std::enable_if<((((! std::is_enum::value) && (! std::is_fundamental::value)) && (! std::is_pointer<_Ptr>::value)) || std::is_same::value), int>::type = 0; long unsigned int LEN = 8; int (* CMP)(const char*, const char*, size_t) = strncasecmp]', inlined from 'GemRB::SpellTables::SpellTables()' at /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Spell.cpp:57:37: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:96:24: warning: 'char* std::strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 96 | strncpy(str, &s[0], LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 42%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Sprite2D.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Palette.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Sprite2D.h:35, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Sprite2D.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Spellbook.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Spellbook.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {std::__cxx11::basic_string, std::allocator >&}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Spellbook.cpp:1158:16: required from here 1158 | if (print) Log(DEBUG, "Spellbook", "{}", buffer); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& std::forward<__cxx11::basic_string&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 42%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/SrcMgr.cpp.o [ 43%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Store.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/SrcMgr.h:27, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/SrcMgr.cpp:23: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 43%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Streams/DataStream.cpp.o [ 43%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Streams/FileCache.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/globals.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Store.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Store.cpp:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 44%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Streams/FileStream.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/FileCache.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/FileCache.cpp:19: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 44%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Streams/MemoryStream.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/FileStream.h:31, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/FileStream.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 45%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Streams/SlicedStream.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/MemoryStream.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/MemoryStream.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 45%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Strings/CString.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.cpp:19: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 46%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/Strings/StringConversion.cpp.o [ 46%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/System/VFS.cpp.o In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/DataStream.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/SlicedStream.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Streams/SlicedStream.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.cpp: In function 'char* GemRB::ConvertCharEncoding(const char*, const char*, const char*)': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.cpp:131:32: error: invalid conversion from 'const char**' to 'char**' [-fpermissive] 131 | size_t ret = iconv(cd, &in, &in_len, &buf_out, &out_len_left); | ^~~ | | | const char** In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.cpp:21: /home/pbulk/build/games/gemrb/work/.buildlink/include/iconv.h:82:43: note: initializing argument 2 of 'size_t libiconv(libiconv_t, char**, size_t*, char**, size_t*)' 82 | extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~^~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:22, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.cpp:19: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/System/VFS.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/System/VFS.cpp:24: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 47%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/System/swab.cpp.o /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v8::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::__cxx11::basic_string, std::allocator >&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::__cxx11::basic_string, std::allocator >&}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator >&>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.h:58:19: required from 'decltype (ctx.out()) fmt::v8::formatter::format(const fmt::WideToChar&, FormatContext&) [with FormatContext = fmt::v8::basic_format_context; decltype (ctx.out()) = fmt::v8::appender]' 58 | return format_to(ctx.out(), "{}", mbstr); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1282:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1731:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = fmt::WideToChar&; typename std::enable_if::type = 0]' 1731 | return {arg}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::WideToChar&, char*&}; Context = fmt::v8::basic_format_context; Args = {fmt::WideToChar, char*}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {fmt::WideToChar&, char*&}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3119:44: required from 'std::string fmt::v8::format(format_string, T&& ...) [with T = {fmt::WideToChar, char*}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]' 3119 | return vformat(fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Logging/Logging.h:46:33: required from 'void GemRB::Log(log_level, const char*, const char*, ARGS&& ...) [with ARGS = {fmt::WideToChar, char*}]' 46 | auto formattedMsg = fmt::format(message, std::forward(args)...); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/StringConversion.cpp:171:6: required from here 171 | Log(ERROR, "String", "wcstombs failed to covert string {} with error: {}", fmt::WideToChar{string}, strerror(errno)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((* & std::forward&>((* & val))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 47%] Building CXX object gemrb/core/CMakeFiles/gemrb_core.dir/TileMap.cpp.o --- gemrb/core/CMakeFiles/gemrb_core.dir/Strings/StringConversion.cpp.o --- *** [gemrb/core/CMakeFiles/gemrb_core.dir/Strings/StringConversion.cpp.o] Error code 1 bmake[2]: stopped making "gemrb/core/CMakeFiles/gemrb_core.dir/build" in /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/build In file included from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format.h:48, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/Format.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Strings/CString.h:33, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/ie_types.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Region.h:32, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Geometry.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Orientation.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/PathFinder.h:25, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/Scriptable/Door.h:24, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/TileMap.h:26, from /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/core/TileMap.cpp:21: /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h: In instantiation of 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::string_type; T = fmt::v8::basic_string_view&; typename std::enable_if::type = 0]': /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1855:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v8::basic_string_view&, const char (&)[3]}; Context = fmt::v8::basic_format_context; Args = {fmt::v8::basic_string_view, char [3]}]' 1853 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1854 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1855 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1856 | std::forward(args))...} { | ~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1872:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {basic_string_view&, const char (&)[3]}]' 1872 | return {std::forward(args)...}; | ^ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:3148:52: required from 'OutputIt fmt::v8::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]' 3148 | return vformat_to(out, fmt, fmt::make_format_args(args...)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/format-inl.h:78:14: required from here 78 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ^~~ /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/gemrb/includes/fmt/core.h:1706:46: note: the temporary was destroyed at the end of the full expression 'fmt::v8::detail::arg_mapper >().fmt::v8::detail::arg_mapper >::map >((*(const fmt::v8::basic_string_view*)(& std::forward&>((* & val)))))' 1706 | const auto& arg = arg_mapper().map(std::forward(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ bmake[2]: 1 error bmake[2]: stopped making "gemrb/core/CMakeFiles/gemrb_core.dir/build" in /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/build --- gemrb/core/CMakeFiles/gemrb_core.dir/all --- *** [gemrb/core/CMakeFiles/gemrb_core.dir/all] Error code 2 bmake[1]: stopped making "all" in /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/build bmake[1]: 1 error bmake[1]: stopped making "all" in /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/build *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/build bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/games/gemrb/work/gemrb-0.9.2/build *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/gemrb *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/gemrb