Task #500 - fixed.err
back to task #500download
Error: CLANG_WARNING: harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-buffer-serialize.cc:724: included_from: Included from here. harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-buffer-deserialize-text-glyphs.rl:107:46: warning[deadcode.DeadStores]: Value stored to 'eof' during its initialization is never read # 105| hb_font_t *font) # 106| { # 107|-> const char *p = buf, *pe = buf + buf_len, *eof = pe, *orig_pe = pe; # 108| # 109| /* Ensure we have positions. */ Error: CLANG_WARNING: harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-buffer-serialize.cc:725: included_from: Included from here. harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-buffer-deserialize-text-unicode.rl:88:46: warning[deadcode.DeadStores]: Value stored to 'eof' during its initialization is never read # 86| hb_font_t *font) # 87| { # 88|-> const char *p = buf, *pe = buf + buf_len, *eof = pe, *orig_pe = pe; # 89| # 90| while (p < pe && ISSPACE (*p)) Error: COMPILER_WARNING: harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-object.hh:328:53: warning[-Wcalloc-transposed-args]: ‘void* calloc(size_t, size_t)’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument # 328 | user_data = (hb_user_data_array_t *) hb_calloc (sizeof (hb_user_data_array_t), 1); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-object.hh:328:53: note: earlier argument should specify number of elements, later size of each element # 326| if (unlikely (!user_data)) # 327| { # 328|-> user_data = (hb_user_data_array_t *) hb_calloc (sizeof (hb_user_data_array_t), 1); # 329| if (unlikely (!user_data)) # 330| return false; Error: COMPILER_WARNING: harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-ot-cff1-table.cc:33: included_from: Included from here. harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-ot-cff1-table.hh: scope_hint: In member function ‘bool OT::cff1::accelerator_t::get_glyph_from_name(const char*, int, hb_codepoint_t*) const’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-ot-cff1-table.hh:1440:60: warning[-Wcalloc-transposed-args]: ‘void* calloc(size_t, size_t)’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument # 1440 | names = (hb_sorted_vector_t<gname_t> *) hb_calloc (sizeof (hb_sorted_vector_t<gname_t>), 1); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-ot-cff1-table.hh:1440:60: note: earlier argument should specify number of elements, later size of each element # 1438| if (unlikely (!names)) # 1439| { # 1440|-> names = (hb_sorted_vector_t<gname_t> *) hb_calloc (sizeof (hb_sorted_vector_t<gname_t>), 1); # 1441| if (likely (names)) # 1442| { Error: CLANG_WARNING: harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-ot-shaper-indic-table.cc:28: included_from: Included from here. harfbuzz-8.3.0-build/harfbuzz-8.3.0/src/hb-ot-shaper-myanmar-machine.hh:450:2: warning[deadcode.DeadStores]: Value stored to 'te' is never read # 448| cs = myanmar_syllable_machine_start; # 449| ts = 0; # 450|-> te = 0; # 451| act = 0; # 452| } Error: GCC_ANALYZER_WARNING (CWE-685): harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:525:29: warning[-Wanalyzer-va-list-exhausted]: ‘expected_tags’ has no more arguments (0 consumed) /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:513:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:513:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:513:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:513:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:520:3: note: in expansion of macro ‘g_assert_cmpuint’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:521:3: note: in expansion of macro ‘g_assert_cmpuint’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:521:3: note: in expansion of macro ‘g_assert_cmpuint’ # 523| for (i = 0; i < script_count + language_count; i++) # 524| { # 525|-> hb_tag_t expected_tag = hb_tag_from_string (va_arg (expected_tags, const char *), -1); # 526| hb_tag_t actual_tag = i < script_count ? script_tags[i] : language_tags[i - script_count]; # 527| g_assert_cmphex (actual_tag, ==, expected_tag); Error: GCC_ANALYZER_WARNING (CWE-685): harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c: scope_hint: In function ‘test_tags’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:525:29: warning[-Wanalyzer-va-list-exhausted]: ‘expected_tags’ has no more arguments (1 consumed) /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:513:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib.h:89: included_from: Included from here. harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:527:5: note: in expansion of macro ‘g_assert_cmphex’ # 523| for (i = 0; i < script_count + language_count; i++) # 524| { # 525|-> hb_tag_t expected_tag = hb_tag_from_string (va_arg (expected_tags, const char *), -1); # 526| hb_tag_t actual_tag = i < script_count ? script_tags[i] : language_tags[i - script_count]; # 527| g_assert_cmphex (actual_tag, ==, expected_tag); Error: GCC_ANALYZER_WARNING (CWE-685): harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:525:29: warning[-Wanalyzer-va-list-exhausted]: ‘expected_tags’ has no more arguments (2 consumed) /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:513:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:513:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:514:3: note: in expansion of macro ‘g_assert’ harfbuzz-8.3.0-build/harfbuzz-8.3.0/test/api/test-ot-tag.c:527:5: note: in expansion of macro ‘g_assert_cmphex’ # 523| for (i = 0; i < script_count + language_count; i++) # 524| { # 525|-> hb_tag_t expected_tag = hb_tag_from_string (va_arg (expected_tags, const char *), -1); # 526| hb_tag_t actual_tag = i < script_count ? script_tags[i] : language_tags[i - script_count]; # 527| g_assert_cmphex (actual_tag, ==, expected_tag);