Task #130906 - added.err

back to task #130906
download
Error: CPPCHECK_WARNING (CWE-398):
fmt-12.1.0/include/fmt/format.h:671: error[throwInNoexceptFunction]: Unhandled exception thrown in function declared not to throw exceptions.
#  669|   
#  670|   FMT_CONSTEXPR inline auto display_width_of(uint32_t cp) noexcept -> size_t {
#  671|->   return to_unsigned(
#  672|         1 + (cp >= 0x1100 &&
#  673|              (cp <= 0x115f ||  // Hangul Jamo init. consonants

Error: CPPCHECK_WARNING (CWE-664):
fmt-12.1.0/include/fmt/format.h:2196: warning[mismatchingContainerExpression]: Iterators to containers from different expressions 'sv' and 's' are used together.
# 2194|           size += cp_width;
# 2195|           // If this is the end of the string, account for closing '"'.
# 2196|->         if (display_width < display_width_limit && sv.end() == s.end()) {
# 2197|             ++display_width;
# 2198|             ++size;

Error: CPPCHECK_WARNING (CWE-664):
fmt-12.1.0/include/fmt/format.h:2214: warning[mismatchingContainerExpression]: Iterators to containers from different expressions 'sv' and 's' are used together.
# 2212|         // If this is the end of the string, account for closing '"'.
# 2213|         if (is_debug && display_width < display_width_limit &&
# 2214|->           sv.end() == s.end()) {
# 2215|           ++display_width;
# 2216|           ++size;

Error: COMPILER_WARNING:
fmt-12.1.0/include/fmt/format.h:3958:8: warning[-Wsubobject-linkage]: ‘fmt::v12::formatter<views_filter_view_test::codec_mask, char, void>’ has a base ‘fmt::v12::formatter<std::ranges::filter_view<std::ranges::ref_view<const std::array<int, 4> >, views_filter_view_test::format_as(codec_mask)::<lambda(auto:38)> >, char, void>’ which has internal linkage
# 3958 | struct formatter<T, Char, void_t<detail::format_as_result<T>>>
#      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3956|   
# 3957|   template <typename T, typename Char>
# 3958|-> struct formatter<T, Char, void_t<detail::format_as_result<T>>>
# 3959|       : formatter<detail::format_as_result<T>, Char> {
# 3960|     template <typename FormatContext>