Snippets for icu 78.1 from Alpine armv7
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armv7/main/icu/icu-78.1-r0.log.
-
collationiterator.h:91:23: warning: '((const icu_78::CollationData*)((char*)this + 44))[4].icu_78::CollationData::trie' is used uninitialized [-Wuninitialized] 91 | : trie(d->trie), | ~~~^~~~ -
number_mapper.cpp:135:49: warning: 'currencyUsage' may be used uninitialized [-Wmaybe-uninitialized] 135 | precision = Precision::constructCurrency(currencyUsage).withCurrency(currency); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
decNumber.cpp:1528:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1528 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ~~~~~~~~~^~ -
decNumber.cpp:1528:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1528 | w->lsu[1]=1; w->lsu[0]=0; /* .. */ | ~~~~~~~~~^~ -
decNumber.cpp:2974:31: 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:44: 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; | ~~~~~~~~~^~ -
collationiterator.h:91:23: warning: '((const icu_78::CollationData*)((char*)this + 44))[4].icu_78::CollationData::trie' is used uninitialized [-Wuninitialized] 91 | : trie(d->trie), | ~~~^~~~ -
number_mapper.cpp:135:49: warning: 'currencyUsage' may be used uninitialized [-Wmaybe-uninitialized] 135 | precision = Precision::constructCurrency(currencyUsage).withCurrency(currency); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
decNumber.cpp:2974:31: 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:44: 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; | ~~~~~~~~~^~ -
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 -
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]' {aka 'const short unsigned int[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]' {aka 'const unsigned char[23]'} [-Warray-bounds=] 534 | uint8_t __b=(s)[(i)++]; \ | ~~~^~~~~~~