Snippets for dovecot 2.4.5 from Alpine armv7
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armv7/main/dovecot/dovecot-2.4.5-r0.log.
-
../../src/lib/time-util.h:32:24: warning: comparison is always true due to limited range of data type [-Wtype-limits] 32 | i_assert(usecs != ULLONG_MAX); | ^~ -
time-util.h:32:24: warning: comparison is always true due to limited range of data type [-Wtype-limits] 32 | i_assert(usecs != ULLONG_MAX); | ^~ -
test-ostream-multiplex.c:614:9: warning: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (10 chars into 9 available) [-Wunterminated-string-initialization] 614 | "\xFF\xFF\xFF\xFF\xFF\x00\x02\x03\xFE"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ostream-multiplex.c:269:22: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 269 | i_assert(ret <= mstream->stream_header_bytes_left); | ^~ -
test-var-expand.c:639:41: warning: absolute value function 'labs' given an argument of type 'time_t' {aka 'long long int'} but has parameter of type 'long int' which may cause truncation of value [-Wabsolute-value] 639 | test_assert_cmp(labs(t0 - t1), <, 10); | ^~~~ -
iostream-openssl.c:778:55: warning: unused parameter 'ssl_io' [-Wunused-parameter] 778 | openssl_iostream_get_compression(struct ssl_iostream *ssl_io) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ -
test-charset.c:137:13: warning: 'test_charset_iconv_utf7_state' defined but not used [-Wunused-function] 137 | static void test_charset_iconv_utf7_state(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
test-charset.c:114:13: warning: 'test_charset_iconv_crashes' defined but not used [-Wunused-function] 114 | static void test_charset_iconv_crashes(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
test-charset.c:64:13: warning: 'test_charset_iconv' defined but not used [-Wunused-function] 64 | static void test_charset_iconv(void) | ^~~~~~~~~~~~~~~~~~ -
json-generator.c:1468:28: warning: 'sret' may be used uninitialized [-Wmaybe-uninitialized] 1468 | if (sret > 0) { | ^ -
/usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Wcpp] 1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h> | ^~~~~~~ -
../../src/lib/strfuncs.h:136:36: warning: 'alg' may be used uninitialized [-Wmaybe-uninitialized] 136 | (__builtin_constant_p(n) ? strncmp((h), (n), strlen(n))==0 : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
smtp-server-transaction.c:80:40: warning: 'rcpts' may be used uninitialized [-Wmaybe-uninitialized] 80 | struct smtp_server_recipient **rcpts; | ^~~~~ -
test-smtp-server-errors.c:1299:12: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 1299 | if (ret == 0) | ^ -
dlua-iostream.c:241:18: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 241 | return n - first; | ~~^~~~~~~ -
../../../../src/lib/time-util.h:32:24: warning: comparison is always true due to limited range of data type [-Wtype-limits] 32 | i_assert(usecs != ULLONG_MAX); | ^~ -
../../../src/lib/time-util.h:32:24: warning: comparison is always true due to limited range of data type [-Wtype-limits] 32 | i_assert(usecs != ULLONG_MAX); | ^~ -
imap-client.c:461:37: warning: 'new_tag' may be used uninitialized [-Wmaybe-uninitialized] 461 | client->state.tag = i_strdup(new_tag); | ^~~~~~~~~~~~~~~~~ -
acl-api.c:174:34: warning: 'aclobj_rights' may be used uninitialized [-Wmaybe-uninitialized] 174 | const struct acl_rights *aclobj_rights; | ^~~~~~~~~~~~~ -
fts-build-mail.c:702:60: warning: comparison is always true due to limited range of data type [-Wtype-limits] 702 | if (body_part && orig_fts_message_max_size != SET_SIZE_UNLIMITED) { | ^~ -
fts-backend-flatcurve-xapian.cc:72:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 72 | #define FLATCURVE_XAPIAN_DB_CURRENT_PREFIX "current." | ^ -
/home/buildozer/aports/main/dovecot/src/dovecot-2.4.5/src/lib/time-util.h:32:24: warning: comparison is always true due to limited range of data type [-Wtype-limits] 32 | i_assert(usecs != ULLONG_MAX); | ^~ -
ext-editheader-settings.c:110:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 110 | "sieve_editheader_max_header_size: " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ext-extlists-common.c:580:33: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'uoff_t' {aka 'long long unsigned int'} [-Wformat=] 580 | "skipping extlists lookup[%u] for list '%s': " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
sieve-lexer.c:71:25: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'uoff_t' {aka 'long long unsigned int'} [-Wformat=] 71 | "sieve script is too large (max %zu bytes)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | svinst->set->max_script_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uoff_t {aka long long unsigned int}