Snippets for icu 78.3 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/icu/78.3/7.fc45/data/logs/i686/build.log.
-
collationiterator.h:91:23: warning: ‘MEM[(const struct CollationData *)this_9(D) + 368B].trie’ is used uninitialized [-Wuninitialized] 91 | : trie(d->trie), | ~~~^~~~ -
decNumber.cpp:2974:30: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2974 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ~~~~~~~~^ -
decNumber.cpp:2974:43: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2974 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ~~~~~~~~^ -
number_mapper.cpp:135:49: warning: ‘currencyUsage’ may be used uninitialized [-Wmaybe-uninitialized] 135 | precision = Precision::constructCurrency(currencyUsage).withCurrency(currency); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
collationiterator.h:91:23: warning: ‘MEM[(const struct CollationData *)this_9(D) + 368B].trie’ is used uninitialized [-Wuninitialized] 91 | : trie(d->trie), | ^ -
formattedvalue.cpp:220:1: warning: function may return address of local variable [-Wreturn-local-addr] 220 | } | ^ -
decNumber.cpp:2974:30: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2974 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ^ -
decNumber.cpp:2974:43: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2974 | t->lsu[0]=9; t->lsu[1]=5; t->lsu[2]=2; | ^ -
number_mapper.cpp:135:49: warning: ‘currencyUsage’ may be used uninitialized [-Wmaybe-uninitialized] 135 | precision = Precision::constructCurrency(currencyUsage).withCurrency(currency); | ^ -
utrans.cpp:115:21: warning: ‘empty’ may be used uninitialized [-Wmaybe-uninitialized] 115 | (*func->replace)(rep, start, limit, text.getBuffer(), text.length()); | ^ -
package.cpp:1292:65: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 1292 | fprintf(stderr, "icupkg: Out of memory trying to allocate %lu bytes for %d items\n", | ~~^ | | | long unsigned int | %u 1293 | max * sizeof(items[0]), max); | ~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int -
../../common/unicode/utf16.h:434:23: warning: array subscript -2 is below array bounds of ‘const UChar[7]’ [-Warray-bounds=] 434 | if(U16_IS_LEAD((s)[(i)++]) && (i)!=(length) && U16_IS_TRAIL((s)[i])) { \ | ^ -
../../common/unicode/utf8.h:534:20: warning: array subscript -2 is below array bounds of ‘const uint8_t[23]’ [-Warray-bounds=] 534 | uint8_t __b=(s)[(i)++]; \ | ~~~^~~~~~~