v2.2.32 release candidate released

Eray Aslan eraya at a21an.org
Thu Aug 17 11:19:47 EEST 2017


On Tue, Aug 15, 2017 at 11:49:29PM +0300, Timo Sirainen wrote:
> https://dovecot.org/releases/2.2/rc/dovecot-2.2.32.rc1.tar.gz
> https://dovecot.org/releases/2.2/rc/dovecot-2.2.32.rc1.tar.gz.sig

In case you are interested (and have the spare cycles), I get the
following mostly new warnings with gcc-7

-- 
Eray


/var/tmp/portage/app-arch/lz4-1.7.5-r1/work/lz4-1.7.5/lib/lz4frame.c:1082:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
             dctxPtr->dStage = dstage_storeHeader;
             ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/app-arch/lz4-1.7.5-r1/work/lz4-1.7.5/lib/lz4frame.c:1085:9: note: here
         case dstage_storeHeader:
         ^~~~
/var/tmp/portage/app-arch/lz4-1.7.5-r1/work/lz4-1.7.5/lib/lz4frame.c:1194:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 dctxPtr->dStage = dstage_decodeCBlock;
                 ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/app-arch/lz4-1.7.5-r1/work/lz4-1.7.5/lib/lz4frame.c:1198:9: note: here
         case dstage_decodeCBlock:
         ^~~~
/var/tmp/portage/app-arch/lz4-1.7.5-r1/work/lz4-1.7.5/programs/lz4cli.c:453:36: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 case 'r': recursive=1;  /* without break */
                           ~~~~~~~~~^~
/var/tmp/portage/app-arch/lz4-1.7.5-r1/work/lz4-1.7.5/programs/lz4cli.c:456:17: note: here
                 case 'm': multiple_inputs=1;
                 ^~~~
/var/tmp/portage/app-arch/lz4-1.7.5-r1/work/lz4-1.7.5/programs/lz4cli.c:453:36: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 case 'r': recursive=1;  /* without break */
                           ~~~~~~~~~^~
/var/tmp/portage/app-arch/lz4-1.7.5-r1/work/lz4-1.7.5/programs/lz4cli.c:456:17: note: here
                 case 'm': multiple_inputs=1;
                 ^~~~
json-parser.c:537:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (parser->skipping && parser->nested_skip_count == 0) {
      ^
json-parser.c:541:2: note: here
  case JSON_STATE_ARRAY_NEXT_SKIP:
  ^~~~
istream-attachment-extractor.c:328:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
   buffer_set_used_size(part_buf, 0);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
istream-attachment-extractor.c:330:2: note: here
  case MAIL_ATTACHMENT_STATE_YES:
  ^~~~
message-header-encode.c:21:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
   i++;
   ~^~
message-header-encode.c:23:2: note: here
  case '\n':
  ^~~~
ldap-connection.c:484:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
    conn->state = LDAP_STATE_AUTH;
    ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
ldap-connection.c:487:2: note: here
  case LDAP_STATE_AUTH:
  ^~~~
fts-filter-contractions.c:46:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (token[pos] == '\0' || token[pos] != 'u')
      ^
fts-filter-contractions.c:49:2: note: here
  case 'c':
  ^~~~
mail-transaction-log-file.c:1064:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if ((hdr->type & MAIL_TRANSACTION_EXTERNAL) == 0) {
      ^
mail-transaction-log-file.c:1068:2: note: here
  case MAIL_TRANSACTION_APPEND:
  ^~~~
test-mail-transaction-log-file.c:412:18: warning: passing argument 1 of ‘test_run’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  return test_run(test_functions);
                  ^~~~~~~~~~~~~~
In file included from test-mail-transaction-log-file.c:5:0:
../../src/lib-test/test-common.h:55:5: note: expected ‘void (**)(void)’ but argument is of type ‘void (* const*)(void)’
 int test_run(void (*test_functions[])(void));
     ^~~~~~~~
maildir-save.c:277:30: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
           mf->keywords_count * sizeof(unsigned int));
../../../../src/lib/macros.h:161:26: note: in definition of macro ‘COMPILE_ERROR_IF_TRUE’
  (sizeof(char[1 - 2 * !!(condition)]) - 1)
                          ^~~~~~~~~
maildir-save.c:276:2: note: in expansion of macro ‘buffer_create_from_const_data’
  buffer_create_from_const_data(&ctx->keywords_buffer, mf + 1,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapc-search.c:99:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if ((mbox->capabilities & IMAPC_CAPABILITY_WITHIN) == 0) {
      ^
imapc-search.c:110:2: note: here
  case SEARCH_ALL:
  ^~~~
mail-search.c:78:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    if (arg->value.str == NULL)
       ^
mail-search.c:81:3: note: here
   case SEARCH_KEYWORDS:
   ^~~~
password-scheme.c:186:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (!guessed_encoding) {
      ^
password-scheme.c:193:2: note: here
  case PW_ENCODING_BASE64:
  ^~~~
client-common-auth.c:58:43: warning: ?: using integer constants in boolean context [-Wint-in-bool-context]
        AUTH_WAITING_WARNING_TIMEOUT_MSECS :
../../src/lib/macros.h:161:26: note: in definition of macro ‘COMPILE_ERROR_IF_TRUE’
  (sizeof(char[1 - 2 * !!(condition)]) - 1)
                          ^~~~~~~~~
client-common-auth.c:57:3: note: in expansion of macro ‘timeout_add’
   timeout_add(!client->notified_auth_ready ?
   ^~~~~~~~~~~
fts-search-args.c:206:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    if ((*argp)->value.str[0] == '\0') {
       ^
fts-search-args.c:211:3: note: here
   case SEARCH_BODY:
   ^~~~
doveadm-mail-crypt.c:861:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
   ctx->force = TRUE;
doveadm-mail-crypt.c:862:2: note: here
  default:
  ^~~~~~~



More information about the dovecot mailing list