[src/hb-blob.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 19 configurations. Use --force to check all configurations. [src/hb-private.hh:598]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list. [src/hb-object-private.hh:110]: (style) C-style pointer casting [src/hb-object-private.hh:187]: (style) C-style pointer casting [src/hb-private.hh:303]: (style) C-style pointer casting [src/hb-private.hh:309]: (style) C-style pointer casting [src/hb-object-private.hh:173]: (style) Unused private function: 'hb_object_header_t::_static_assertion_on_line___LINE__' [src/hb-buffer-serialize.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 16 configurations. Use --force to check all configurations. [src/hb-buffer.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 16 configurations. Use --force to check all configurations. [src/hb-common.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 17 configurations. Use --force to check all configurations. [src/hb-common.cc:213]: (style) C-style pointer casting [src/hb-common.cc:220]: (style) C-style pointer casting [src/hb-common.cc:246]: (style) The scope of the variable 'strbuf' can be reduced. [src/hb-common.cc:250]: (style) Variable 'strbuf' is assigned a value that is never used. [src/hb-coretext.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-coretext.cc:64]: (style) C-style pointer casting [src/hb-coretext.cc:116]: (style) C-style pointer casting [src/hb-font-private.hh:341]: (style) Variable 'ret' is assigned a value that is never used. [src/hb-font-private.hh:348]: (style) Variable 'ret' is assigned a value that is never used. [src/hb-coretext.cc:181]: (style) Variable 'face_data' is assigned a value that is never used. [src/hb-coretext.cc:235]: (style) Variable 'success' is assigned a value that is never used. [src/hb-coretext.cc:290]: (style) Variable 'pos' is assigned a value that is never used. [src/hb-fallback-shape.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-font.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ft.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 23 configurations. Use --force to check all configurations. [src/hb-ft.cc:347]: (style) C-style pointer casting [src/hb-ft.cc:362]: (style) C-style pointer casting [src/hb-glib.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 16 configurations. Use --force to check all configurations. [src/hb-graphite2.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-graphite2.cc:63]: (style) C-style pointer casting [src/hb-graphite2.cc:111]: (style) C-style pointer casting [src/hb-graphite2.cc:158]: (style) C-style pointer casting [src/hb-graphite2.cc:293]: (style) C-style pointer casting [src/hb-graphite2.cc:294]: (style) Variable 'scratch_size' is assigned a value that is never used. [src/hb-icu-le.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-icu-le.cc:221]: (warning) Casting between integer* and float* which have an incompatible binary data representation. [src/hb-icu-le/FontTableCache.cpp:25]: (style) C-style pointer casting [src/hb-icu-le/FontTableCache.cpp:67]: (style) C-style pointer casting [src/hb-icu-le/FontTableCache.cpp:77]: (style) C-style pointer casting [src/hb-icu-le/FontTableCache.h:24]: (style) 'class FontTableCache' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory. [src/hb-icu-le/FontTableCache.cpp:77]: (error) Common realloc mistake: 'fTableCache' nulled but not freed upon failure [src/hb-icu-le/PortableFontInstance.cpp:49]: (style) C-style pointer casting [src/hb-icu-le/PortableFontInstance.cpp:89]: (style) C-style pointer casting [src/hb-icu-le/PortableFontInstance.cpp:102]: (style) C-style pointer casting [src/hb-icu-le/PortableFontInstance.cpp:104]: (style) C-style pointer casting [src/hb-icu-le/PortableFontInstance.cpp:135]: (style) C-style pointer casting [src/hb-icu-le/PortableFontInstance.cpp:137]: (style) C-style pointer casting [src/hb-icu-le/PortableFontInstance.cpp:184]: (style) C-style pointer casting [src/hb-icu-le/PortableFontInstance.cpp:185]: (style) C-style pointer casting [src/hb-icu-le/PortableFontInstance.cpp:191]: (style) C-style pointer casting [src/hb-icu-le/cmaps.cpp:88]: (style) C-style pointer casting [src/hb-icu-le/cmaps.cpp:92]: (style) C-style pointer casting [src/hb-icu.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 16 configurations. Use --force to check all configurations. [src/hb-old.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-old.cc:87]: (style) C-style pointer casting [src/hb-old.cc:115]: (style) C-style pointer casting [src/hb-old.cc:146]: (style) C-style pointer casting [src/hb-old.cc:164]: (style) C-style pointer casting [src/hb-old.cc:190]: (style) C-style pointer casting [src/hb-old/harfbuzz-buffer.c:357]: (style) The scope of the variable 'error' can be reduced. [src/hb-old/harfbuzz-buffer.c:156]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-gdef.c:231]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gdef.c:232]: (style) The scope of the variable 'pi' can be reduced. [src/hb-old/harfbuzz-gdef.c:349]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gdef.c:349]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gdef.c:527]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gdef.c:527]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gdef.c:621]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gdef.c:621]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gdef.c:964]: (style) The scope of the variable 'ngc' can be reduced. [src/hb-old/harfbuzz-gdef.c:965]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gdef.c:965]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gdef.c:1073]: (style) The scope of the variable 'error' can be reduced. [src/hb-old/harfbuzz-gdef.c:211]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-gpos.c:1023]: (warning) Redundant assignment of 'nesting_level' to itself. [src/hb-old/harfbuzz-gpos.c:1583]: (warning) Redundant assignment of 'nesting_level' to itself. [src/hb-old/harfbuzz-gpos.c:1806]: (warning) Redundant assignment of 'nesting_level' to itself. [src/hb-old/harfbuzz-gpos.c:2233]: (warning) Redundant assignment of 'nesting_level' to itself. [src/hb-old/harfbuzz-gpos.c:2643]: (warning) Redundant assignment of 'nesting_level' to itself. [src/hb-old/harfbuzz-gpos.c:2835]: (warning) Redundant assignment of 'num_classes' to itself. [src/hb-old/harfbuzz-gpos.c:2968]: (warning) Redundant assignment of 'nesting_level' to itself. [src/hb-old/harfbuzz-gpos.c:870]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:870]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:978]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:978]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:1145]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:1145]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:1231]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:1231]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:1376]: (style) The scope of the variable 'm' can be reduced. [src/hb-old/harfbuzz-gpos.c:1376]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:1376]: (style) The scope of the variable 'count1' can be reduced. [src/hb-old/harfbuzz-gpos.c:1376]: (style) The scope of the variable 'count2' can be reduced. [src/hb-old/harfbuzz-gpos.c:1766]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:1766]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:2421]: (style) The scope of the variable 'm' can be reduced. [src/hb-old/harfbuzz-gpos.c:2421]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:2421]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:2508]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:2508]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:2833]: (style) The scope of the variable 'm2ans' can be reduced. [src/hb-old/harfbuzz-gpos.c:3249]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:3249]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:3341]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:3341]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:3501]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:3501]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:3620]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:3620]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:3726]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:3726]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:4253]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:4253]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:4345]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:4345]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:4578]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:4578]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:4715]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gpos.c:4715]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gpos.c:183]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-gpos.c:1023]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-gpos.c:1806]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-gpos.c:2835]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-gpos.c:1025]: (style) Redundant condition: If context_length < 1, the comparison context_length != 65535 is always true. [src/hb-old/harfbuzz-gpos.c:1588]: (style) Redundant condition: If context_length < 2, the comparison context_length != 65535 is always true. [src/hb-old/harfbuzz-gpos.c:1808]: (style) Redundant condition: If context_length < 1, the comparison context_length != 65535 is always true. [src/hb-old/harfbuzz-gpos.c:2235]: (style) Redundant condition: If context_length < 1, the comparison context_length != 65535 is always true. [src/hb-old/harfbuzz-gpos.c:2645]: (style) Redundant condition: If context_length < 1, the comparison context_length != 65535 is always true. [src/hb-old/harfbuzz-gpos.c:2970]: (style) Redundant condition: If context_length < 1, the comparison context_length != 65535 is always true. [src/hb-old/harfbuzz-gpos.c:70]: (warning) Redundant assignment of 'metric_id' to itself. [src/hb-old/harfbuzz-gpos.c:71]: (warning) Redundant assignment of 'metric_value' to itself. [src/hb-old/harfbuzz-gpos.c:72]: (warning) Redundant assignment of 'data' to itself. [src/hb-old/harfbuzz-gpos.c:69]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-gpos.c:70]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-gpos.c:71]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-gpos.c:72]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-greek.c:358]: (style) Variable 'availableGlyphs' is assigned a value that is never used. [src/hb-old/harfbuzz-gsub.c:276]: (warning) Redundant assignment of 'nesting_level' to itself. [src/hb-old/harfbuzz-gsub.c:482]: (warning) Redundant assignment of 'nesting_level' to itself. [src/hb-old/harfbuzz-gsub.c:680]: (warning) Redundant assignment of 'nesting_level' to itself. [src/hb-old/harfbuzz-gsub.c:960]: (warning) Redundant assignment of 'nesting_level' to itself. [src/hb-old/harfbuzz-gsub.c:330]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:331]: (style) The scope of the variable 'sub' can be reduced. [src/hb-old/harfbuzz-gsub.c:448]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:448]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:477]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:646]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:646]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:829]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:829]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:923]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:923]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:1264]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:1264]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:1356]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:1356]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:1516]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:1516]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:1635]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:1635]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:1742]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:1742]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:2248]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:2248]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:2341]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:2341]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:2575]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:2575]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:2714]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-gsub.c:2714]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-gsub.c:4196]: (style) Unsigned variable 'in_pos' can't be negative so it is unnecessary to test it. [src/hb-old/harfbuzz-gsub.c:148]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-gsub.c:278]: (style) Redundant condition: If context_length < 1, the comparison context_length != 65535 is always true. [src/hb-old/harfbuzz-gsub.c:484]: (style) Redundant condition: If context_length < 1, the comparison context_length != 65535 is always true. [src/hb-old/harfbuzz-gsub.c:682]: (style) Redundant condition: If context_length < 1, the comparison context_length != 65535 is always true. [src/hb-old/harfbuzz-hangul.c:155] -> [src/hb-old/harfbuzz-hangul.c:61]: (style) Variable 'Hangul_VCount' hides enumerator with same name [src/hb-old/harfbuzz-hangul.c:155] -> [src/hb-old/harfbuzz-hangul.c:62]: (style) Variable 'Hangul_TCount' hides enumerator with same name [src/hb-old/harfbuzz-hangul.c:163] -> [src/hb-old/harfbuzz-hangul.c:61]: (style) Variable 'Hangul_VCount' hides enumerator with same name [src/hb-old/harfbuzz-hangul.c:163] -> [src/hb-old/harfbuzz-hangul.c:62]: (style) Variable 'Hangul_TCount' hides enumerator with same name [src/hb-old/harfbuzz-indic.cpp:1856]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list. [src/hb-old/harfbuzz-indic.cpp:1823] -> [src/hb-old/harfbuzz-indic.cpp:1825]: (performance) Variable 'openType' is reassigned a value before the old one has been used. [src/hb-old/harfbuzz-indic.cpp:1244]: (style) The scope of the variable 'beginsWithRa' can be reduced. [src/hb-old/harfbuzz-open.c:178]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-open.c:178]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-open.c:278]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-open.c:278]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-open.c:419]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-open.c:419]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-open.c:557]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-open.c:557]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-open.c:642]: (style) The scope of the variable 'n' can be reduced. [src/hb-old/harfbuzz-open.c:642]: (style) The scope of the variable 'count' can be reduced. [src/hb-old/harfbuzz-open.c:816]: (style) The scope of the variable 'middle' can be reduced. [src/hb-old/harfbuzz-open.c:866]: (style) The scope of the variable 'middle' can be reduced. [src/hb-old/harfbuzz-open.c:1406]: (style) The scope of the variable 'byte' can be reduced. [src/hb-old/harfbuzz-open.c:1406]: (style) The scope of the variable 'bits' can be reduced. [src/hb-old/harfbuzz-open.c:1406]: (style) The scope of the variable 's' can be reduced. [src/hb-old/harfbuzz-open.c:1361]: (warning) Assignment of function parameter has no effect outside the function. [src/hb-old/harfbuzz-shaper-all.cpp]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations. [src/hb-old/harfbuzz-shaper.cpp:730]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list. [src/hb-old/harfbuzz-shaper.cpp:650] -> [src/hb-old/harfbuzz-shaper.cpp:648]: (style) Found duplicate branches for 'if' and 'else'. [src/hb-ot-layout.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-layout-gsubgpos-private.hh:339]: (style) C-style pointer casting [src/hb-ot-layout-gsub-table.hh:1380]: (style) C-style pointer casting [src/hb-ot-layout-gsub-table.hh:1407]: (style) C-style pointer casting [src/hb-ot-layout-gsub-table.hh:1414]: (style) C-style pointer casting [src/hb-ot-layout-gpos-table.hh:1605]: (style) C-style pointer casting [src/hb-ot-layout-gpos-table.hh:1612]: (style) C-style pointer casting [src/hb-ot-layout.cc:48]: (style) C-style pointer casting [src/hb-ot-layout.cc:64]: (style) C-style pointer casting [src/hb-ot-layout.cc:65]: (style) C-style pointer casting [src/hb-ot-layout.cc:104]: (style) C-style pointer casting [src/hb-ot-layout.cc:110]: (style) C-style pointer casting [src/hb-ot-layout.cc:116]: (style) C-style pointer casting [src/hb-ot-layout.cc:616]: (style) C-style pointer casting [src/hb-ot-layout.cc:622]: (style) C-style pointer casting [src/hb-ot-layout.cc:658]: (style) C-style pointer casting [src/hb-ot-layout.cc:661]: (style) C-style pointer casting [src/hb-ot-layout.cc:663]: (style) C-style pointer casting [src/hb-ot-layout.cc:770]: (style) C-style pointer casting [src/hb-ot-layout.cc:771]: (style) C-style pointer casting [src/hb-ot-layout.cc:783]: (style) C-style pointer casting [src/hb-ot-layout.cc:784]: (style) C-style pointer casting [src/hb-ot-layout-common-private.hh:514]: (warning) Suspicious pointer subtraction. Did you intend to write '->'? [src/hb-ot-map.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-shape-complex-arabic.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-shape-complex-arabic-fallback.hh:211]: (style) C-style pointer casting [src/hb-ot-shape-complex-arabic.cc:219]: (style) C-style pointer casting [src/hb-ot-shape-complex-arabic.cc:236]: (style) C-style pointer casting [src/hb-ot-shape-complex-arabic.cc:308]: (style) C-style pointer casting [src/hb-ot-shape-complex-arabic.cc:322]: (style) C-style pointer casting [src/hb-ot-shape-complex-arabic.cc:328]: (style) C-style pointer casting [src/hb-ot-shape-complex-default.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-shape-complex-indic-table.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-shape-complex-indic.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-shape-complex-indic.cc:515]: (style) C-style pointer casting [src/hb-ot-shape-complex-indic.cc:628]: (style) C-style pointer casting [src/hb-ot-shape-complex-indic.cc:653]: (style) C-style pointer casting [src/hb-ot-shape-complex-indic.cc:1188]: (style) C-style pointer casting [src/hb-ot-shape-complex-indic.cc:1623]: (style) C-style pointer casting [src/hb-ot-shape-complex-myanmar.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-shape-complex-sea.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-shape-complex-thai.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-shape-fallback.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-shape-normalize.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-shape.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ot-shape.cc:173]: (style) C-style pointer casting [src/hb-set.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 16 configurations. Use --force to check all configurations. [src/hb-shape-plan.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-shape-plan.cc:45]: (style) Variable 'shapers' is assigned a value that is never used. [src/hb-shape.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 22 configurations. Use --force to check all configurations. [src/hb-shape.cc:200]: (style) Variable 's' is assigned a value that is never used. [src/hb-shaper.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-shaper.cc:54]: (style) C-style pointer casting [src/hb-shaper.cc:61]: (style) C-style pointer casting [src/hb-shaper.cc:65]: (style) C-style pointer casting [src/hb-shaper.cc:68]: (style) C-style pointer casting [src/hb-tt-font.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 21 configurations. Use --force to check all configurations. [src/hb-ucdn.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 16 configurations. Use --force to check all configurations. [src/hb-ucdn/ucdn.c:55]: (style) The scope of the variable 'offset' can be reduced. [src/hb-ucdn/ucdn.c:72]: (style) The scope of the variable 'offset' can be reduced. [src/hb-unicode.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 18 configurations. Use --force to check all configurations. [src/hb-uniscribe.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 22 configurations. Use --force to check all configurations. [src/hb-ot-name-table.hh:91]: (style) C-style pointer casting [src/hb-uniscribe.cc:235]: (style) C-style pointer casting [src/hb-uniscribe.cc:239]: (style) C-style pointer casting [src/hb-uniscribe.cc:275]: (style) C-style pointer casting [src/hb-uniscribe.cc:360]: (style) C-style pointer casting [src/hb-warning.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 18 configurations. Use --force to check all configurations. [src/main.cc]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 22 configurations. Use --force to check all configurations. [test/api/test-blob.c:1]: (information) Skipping configuration 'SRCDIR' since the value of 'SRCDIR' is unknown. Use -D if you want to check it. [test/api/test-buffer.c:373]: (style) The scope of the variable 'glyphs' can be reduced. [test/api/test-buffer.c:374]: (style) The scope of the variable 'bytes' can be reduced. [test/api/test-buffer.c:1]: (information) Skipping configuration 'SRCDIR' since the value of 'SRCDIR' is unknown. Use -D if you want to check it. [test/api/test-common.c:1]: (information) Skipping configuration 'SRCDIR' since the value of 'SRCDIR' is unknown. Use -D if you want to check it. [test/api/test-font.c:139] -> [test/api/test-font.c:140]: (performance) Variable 'x' is reassigned a value before the old one has been used. [test/api/test-font.c:385] -> [test/api/test-font.c:388]: (performance) Variable 'y_scale' is reassigned a value before the old one has been used. [test/api/test-font.c:388] -> [test/api/test-font.c:391]: (performance) Variable 'x_scale' is reassigned a value before the old one has been used. [test/api/test-font.c:407] -> [test/api/test-font.c:410]: (performance) Variable 'y_ppem' is reassigned a value before the old one has been used. [test/api/test-font.c:410] -> [test/api/test-font.c:413]: (performance) Variable 'x_ppem' is reassigned a value before the old one has been used. [test/api/test-font.c:1]: (information) Skipping configuration 'SRCDIR' since the value of 'SRCDIR' is unknown. Use -D if you want to check it. [test/api/test-object.c:290]: (error) Buffer is accessed out of bounds: data [test/api/test-object.c:292]: (error) Buffer is accessed out of bounds: data [test/api/test-object.c:296]: (error) Buffer is accessed out of bounds: data [test/api/test-object.c:1]: (information) Skipping configuration 'SRCDIR' since the value of 'SRCDIR' is unknown. Use -D if you want to check it. [test/api/test-ot-tag.c:1]: (information) Skipping configuration 'SRCDIR' since the value of 'SRCDIR' is unknown. Use -D if you want to check it. [test/api/test-set.c:1]: (information) Skipping configuration 'SRCDIR' since the value of 'SRCDIR' is unknown. Use -D if you want to check it. [test/api/test-shape.c:1]: (information) Skipping configuration 'SRCDIR' since the value of 'SRCDIR' is unknown. Use -D if you want to check it. [test/api/test-unicode.c:605]: (style) The scope of the variable 'uf' can be reduced. [test/api/test-unicode.c:1]: (information) Skipping configuration 'SRCDIR' since the value of 'SRCDIR' is unknown. Use -D if you want to check it. [test/api/test-version.c:1]: (information) Skipping configuration 'SRCDIR' since the value of 'SRCDIR' is unknown. Use -D if you want to check it. [util/ansi-print.cc:102]: (style) C-style pointer casting [util/ansi-print.cc:109]: (style) C-style pointer casting [util/ansi-print.cc:157]: (warning) Member variable 'biimage_t::bg' is not initialized in the constructor. [util/ansi-print.cc:157]: (warning) Member variable 'biimage_t::fg' is not initialized in the constructor. [util/ansi-print.cc:157]: (warning) Member variable 'biimage_t::unicolor' is not initialized in the constructor. [util/ansi-print.cc:91]: (style) 'struct image_t' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory. [util/ansi-print.cc:153]: (style) 'struct biimage_t' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory. [util/hb-ot-shape-closure.cc:82]: (style) The scope of the variable 'glyph_name' can be reduced. [util/shape-consumer.hh:36]: (warning) Member variable 'shape_consumer_t::failed' is not initialized in the constructor. [util/shape-consumer.hh:36]: (warning) Member variable 'shape_consumer_t::font' is not initialized in the constructor. [util/hb-shape.cc:33]: (warning) Member variable 'output_buffer_t::gs' is not initialized in the constructor. [util/hb-shape.cc:33]: (warning) Member variable 'output_buffer_t::line_no' is not initialized in the constructor. [util/hb-shape.cc:33]: (warning) Member variable 'output_buffer_t::font' is not initialized in the constructor. [util/view-cairo.hh:35]: (warning) Member variable 'view_cairo_t::lines' is not initialized in the constructor. [util/view-cairo.hh:35]: (warning) Member variable 'view_cairo_t::scale' is not initialized in the constructor. [util/helper-cairo.cc:379]: (style) C-style pointer casting [util/helper-cairo.cc:288] -> [util/helper-cairo.cc:286]: (style) Found duplicate branches for 'if' and 'else'. [util/options.cc:105]: (style) C-style pointer casting [util/options.cc:158]: (style) C-style pointer casting [util/options.cc:180]: (style) C-style pointer casting [util/options.cc:205]: (style) C-style pointer casting [util/options.cc:579]: (style) C-style pointer casting [util/options.cc:288]: (style) The scope of the variable 'features_help' can be reduced. [util/options.cc:160]: (portability) scanf without field width limits can crash with huge input data on some versions of libc. [src/hb-old/harfbuzz-gdef.c:787]: (style) The function 'HB_GDEF_Build_ClassDefinition' is never used. [src/hb-old/harfbuzz-gpos.c:5658]: (style) The function 'HB_GPOS_Query_Languages' is never used. [src/hb-old/harfbuzz-gpos.c:5627]: (style) The function 'HB_GPOS_Query_Scripts' is never used. [src/hb-old/harfbuzz-gpos.c:6009]: (style) The function 'HB_GPOS_Register_MM_Function' is never used. [src/hb-old/harfbuzz-gpos.c:5518]: (style) The function 'HB_GPOS_Select_Language' is never used. [src/hb-old/harfbuzz-gsub.c:3950]: (style) The function 'HB_GSUB_Query_Features' is never used. [src/hb-old/harfbuzz-gsub.c:3907]: (style) The function 'HB_GSUB_Query_Languages' is never used. [src/hb-old/harfbuzz-gsub.c:3876]: (style) The function 'HB_GSUB_Query_Scripts' is never used. [src/hb-old/harfbuzz-gsub.c:4267]: (style) The function 'HB_GSUB_Register_Alternate_Function' is never used. [src/hb-old/harfbuzz-gsub.c:3767]: (style) The function 'HB_GSUB_Select_Language' is never used. [src/hb-coretext.cc:174]: (style) The function '_hb_coretext_shape' is never used. [src/hb-coretext.cc:148]: (style) The function '_hb_coretext_shaper_shape_plan_data_create' is never used. [src/hb-coretext.cc:156]: (style) The function '_hb_coretext_shaper_shape_plan_data_destroy' is never used. [src/hb-fallback-shape.cc:92]: (style) The function '_hb_fallback_shape' is never used. [src/hb-fallback-shape.cc:38]: (style) The function '_hb_fallback_shaper_face_data_create' is never used. [src/hb-fallback-shape.cc:44]: (style) The function '_hb_fallback_shaper_face_data_destroy' is never used. [src/hb-fallback-shape.cc:56]: (style) The function '_hb_fallback_shaper_font_data_create' is never used. [src/hb-fallback-shape.cc:62]: (style) The function '_hb_fallback_shaper_font_data_destroy' is never used. [src/hb-fallback-shape.cc:74]: (style) The function '_hb_fallback_shaper_shape_plan_data_create' is never used. [src/hb-fallback-shape.cc:82]: (style) The function '_hb_fallback_shaper_shape_plan_data_destroy' is never used. [src/hb-graphite2.cc:218]: (style) The function '_hb_graphite2_shape' is never used. [src/hb-graphite2.cc:193]: (style) The function '_hb_graphite2_shaper_shape_plan_data_create' is never used. [src/hb-graphite2.cc:201]: (style) The function '_hb_graphite2_shaper_shape_plan_data_destroy' is never used. [src/hb-icu-le.cc:138]: (style) The function '_hb_icu_le_shape' is never used. [src/hb-icu-le.cc:71]: (style) The function '_hb_icu_le_shaper_face_data_create' is never used. [src/hb-icu-le.cc:77]: (style) The function '_hb_icu_le_shaper_face_data_destroy' is never used. [src/hb-icu-le.cc:87]: (style) The function '_hb_icu_le_shaper_font_data_create' is never used. [src/hb-icu-le.cc:107]: (style) The function '_hb_icu_le_shaper_font_data_destroy' is never used. [src/hb-icu-le.cc:120]: (style) The function '_hb_icu_le_shaper_shape_plan_data_create' is never used. [src/hb-icu-le.cc:128]: (style) The function '_hb_icu_le_shaper_shape_plan_data_destroy' is never used. [src/hb-old.cc:272]: (style) The function '_hb_old_shape' is never used. [src/hb-old.cc:205]: (style) The function '_hb_old_shaper_face_data_create' is never used. [src/hb-old.cc:211]: (style) The function '_hb_old_shaper_face_data_destroy' is never used. [src/hb-old.cc:222]: (style) The function '_hb_old_shaper_font_data_create' is never used. [src/hb-old.cc:241]: (style) The function '_hb_old_shaper_font_data_destroy' is never used. [src/hb-old.cc:254]: (style) The function '_hb_old_shaper_shape_plan_data_create' is never used. [src/hb-old.cc:262]: (style) The function '_hb_old_shaper_shape_plan_data_destroy' is never used. [src/hb-ot-shape.cc:600]: (style) The function '_hb_ot_shape' is never used. [src/hb-ot-shape.cc:153]: (style) The function '_hb_ot_shaper_font_data_create' is never used. [src/hb-ot-shape.cc:159]: (style) The function '_hb_ot_shaper_font_data_destroy' is never used. [src/hb-ot-shape.cc:169]: (style) The function '_hb_ot_shaper_shape_plan_data_create' is never used. [src/hb-ot-shape.cc:195]: (style) The function '_hb_ot_shaper_shape_plan_data_destroy' is never used. [src/hb-uniscribe.cc:443]: (style) The function '_hb_uniscribe_shape' is never used. [src/hb-uniscribe.cc:424]: (style) The function '_hb_uniscribe_shaper_shape_plan_data_create' is never used. [src/hb-uniscribe.cc:432]: (style) The function '_hb_uniscribe_shaper_shape_plan_data_destroy' is never used. [src/hb-blob.cc:54]: (style) The function '_static_assertion_on_line___LINE__' is never used. [src/hb-buffer.cc:218]: (style) The function 'add_info' is never used. [src/hb-buffer.cc:582]: (style) The function 'assert_var' is never used. [src/hb-buffer.cc:339]: (style) The function 'copy_glyph' is never used. [test/api/test-unicode.c:654]: (style) The function 'data_fixture_finish' is never used. [test/api/test-unicode.c:648]: (style) The function 'data_fixture_init' is never used. [src/hb-icu-le/PortableFontInstance.cpp:167]: (style) The function 'deleteNameString' is never used. [src/hb-old/harfbuzz-shaper.cpp:457]: (style) The function 'dump_string' is never used. [test/api/test-blob.c:195]: (style) The function 'fixture_finish' is never used. [test/api/test-blob.c:141]: (style) The function 'fixture_init' is never used. [src/hb-icu-le/FontTableCache.cpp:52]: (style) The function 'freeFontTable' is never used. [src/hb-icu-le/PortableFontInstance.cpp:223]: (style) The function 'getAscent' is never used. [src/hb-icu-le/PortableFontInstance.cpp:228]: (style) The function 'getDescent' is never used. [src/hb-icu-le/PortableFontInstance.cpp:218]: (style) The function 'getFontChecksum' is never used. [src/hb-icu-le/PortableFontInstance.cpp:177]: (style) The function 'getGlyphAdvance' is never used. [src/hb-icu-le/PortableFontInstance.cpp:208]: (style) The function 'getGlyphPoint' is never used. [src/hb-icu-le/PortableFontInstance.cpp:233]: (style) The function 'getLeading' is never used. [src/hb-icu-le/PortableFontInstance.cpp:98]: (style) The function 'getNameString' is never used. [src/hb-icu-le/PortableFontInstance.cpp:267]: (style) The function 'getScaleFactorX' is never used. [src/hb-icu-le/PortableFontInstance.cpp:272]: (style) The function 'getScaleFactorY' is never used. [src/hb-icu-le/PortableFontInstance.cpp:131]: (style) The function 'getUnicodeNameString' is never used. [src/hb-icu-le/PortableFontInstance.cpp:213]: (style) The function 'getUnitsPerEM' is never used. [src/hb-icu-le/PortableFontInstance.cpp:257]: (style) The function 'getXPixelsPerEm' is never used. [src/hb-icu-le/PortableFontInstance.cpp:262]: (style) The function 'getYPixelsPerEm' is never used. [src/hb-buffer.cc:685]: (style) The function 'hb_buffer_get_content_type' is never used. [src/hb-buffer.cc:773]: (style) The function 'hb_buffer_get_segment_properties' is never used. [src/hb-buffer.cc:763]: (style) The function 'hb_buffer_set_segment_properties' is never used. [src/hb-coretext.cc:95]: (style) The function 'hb_coretext_face_get_cg_font' is never used. [src/hb-coretext.cc:161]: (style) The function 'hb_coretext_font_get_ct_font' is never used. [src/hb-font.cc:762]: (style) The function 'hb_face_get_glyph_count' is never used. [src/hb-font.cc:752]: (style) The function 'hb_face_set_glyph_count' is never used. [src/hb-shape.cc:167]: (style) The function 'hb_feature_to_string' is never used. [src/hb-font.cc:446]: (style) The function 'hb_font_add_glyph_origin_for_direction' is never used. [src/hb-font.cc:334]: (style) The function 'hb_font_funcs_set_glyph_extents_func' is never used. [src/hb-font.cc:334]: (style) The function 'hb_font_funcs_set_glyph_from_name_func' is never used. [src/hb-font.cc:334]: (style) The function 'hb_font_funcs_set_glyph_h_origin_func' is never used. [src/hb-font.cc:334]: (style) The function 'hb_font_funcs_set_glyph_name_func' is never used. [src/hb-font.cc:334]: (style) The function 'hb_font_funcs_set_glyph_v_advance_func' is never used. [src/hb-font.cc:334]: (style) The function 'hb_font_funcs_set_glyph_v_kerning_func' is never used. [src/hb-font.cc:334]: (style) The function 'hb_font_funcs_set_glyph_v_origin_func' is never used. [src/hb-font.cc:428]: (style) The function 'hb_font_get_glyph_advance_for_direction' is never used. [src/hb-font.cc:473]: (style) The function 'hb_font_get_glyph_extents_for_origin' is never used. [src/hb-font.cc:417]: (style) The function 'hb_font_get_glyph_from_name' is never used. [src/hb-font.cc:363]: (style) The function 'hb_font_get_glyph_h_origin' is never used. [src/hb-font.cc:464]: (style) The function 'hb_font_get_glyph_kerning_for_direction' is never used. [src/hb-font.cc:437]: (style) The function 'hb_font_get_glyph_origin_for_direction' is never used. [src/hb-font.cc:356]: (style) The function 'hb_font_get_glyph_v_advance' is never used. [src/hb-font.cc:386]: (style) The function 'hb_font_get_glyph_v_kerning' is never used. [src/hb-font.cc:371]: (style) The function 'hb_font_get_glyph_v_origin' is never used. [src/hb-font.cc:949]: (style) The function 'hb_font_set_funcs_data' is never used. [src/hb-font.cc:455]: (style) The function 'hb_font_subtract_glyph_origin_for_direction' is never used. [src/hb-ft.cc:351]: (style) The function 'hb_ft_face_create_cached' is never used. [src/hb-ft.cc:372]: (style) The function 'hb_ft_font_create' is never used. [src/hb-gobject-structs.cc:58]: (style) The function 'hb_gobject_blob_get_type' is never used. [src/hb-gobject-structs.cc:57]: (style) The function 'hb_gobject_buffer_get_type' is never used. [src/hb-gobject-structs.cc:59]: (style) The function 'hb_gobject_face_get_type' is never used. [src/hb-gobject-structs.cc:61]: (style) The function 'hb_gobject_font_funcs_get_type' is never used. [src/hb-gobject-structs.cc:60]: (style) The function 'hb_gobject_font_get_type' is never used. [src/hb-gobject-structs.cc:62]: (style) The function 'hb_gobject_unicode_funcs_get_type' is never used. [src/hb-graphite2.cc:145]: (style) The function 'hb_graphite2_face_get_gr_face' is never used. [src/hb-graphite2.cc:179]: (style) The function 'hb_graphite2_font_get_gr_font' is never used. [src/hb-ot-layout.cc:555]: (style) The function 'hb_ot_layout_collect_lookups' is never used. [src/hb-ot-layout.cc:146]: (style) The function 'hb_ot_layout_get_attach_points' is never used. [src/hb-ot-layout.cc:131]: (style) The function 'hb_ot_layout_get_glyph_class' is never used. [src/hb-ot-layout.cc:138]: (style) The function 'hb_ot_layout_get_glyphs_in_class' is never used. [src/hb-ot-layout.cc:156]: (style) The function 'hb_ot_layout_get_ligature_carets' is never used. [src/hb-ot-layout.cc:635]: (style) The function 'hb_ot_layout_has_substitution' is never used. [src/hb-ot-layout.cc:352]: (style) The function 'hb_ot_layout_language_get_feature_tags' is never used. [src/hb-ot-layout.cc:596]: (style) The function 'hb_ot_layout_lookup_collect_glyphs' is never used. [src/hb-ot-layout.cc:276]: (style) The function 'hb_ot_layout_table_get_feature_tags' is never used. [src/hb-buffer.cc:52]: (style) The function 'hb_segment_properties_hash' is never used. [src/hb-set.cc:134]: (style) The function 'hb_set_del' is never used. [src/hb-shape-plan.cc:168]: (style) The function 'hb_shape_plan_get_user_data' is never used. [src/hb-shape-plan.cc:158]: (style) The function 'hb_shape_plan_set_user_data' is never used. [src/hb-unicode.cc:282]: (style) The function 'hb_unicode_funcs_set_compose_func' is never used. [src/hb-unicode.cc:282]: (style) The function 'hb_unicode_funcs_set_decompose_compatibility_func' is never used. [src/hb-unicode.cc:282]: (style) The function 'hb_unicode_funcs_set_decompose_func' is never used. [src/hb-uniscribe.cc:409]: (style) The function 'hb_uniscribe_font_get_hfont' is never used. [src/hb-uniscribe.cc:401]: (style) The function 'hb_uniscribe_font_get_logfontw' is never used. [src/hb-buffer-serialize.cc:266]: (style) The function 'parse_int' is never used. [src/hb-ucdn/ucdn.c:187]: (style) The function 'ucdn_get_bidi_class' is never used. [src/hb-ucdn/ucdn.c:192]: (style) The function 'ucdn_get_mirrored' is never used. (information) Cppcheck cannot find all the include files (use --check-config for details)