Thanks! It solved problems also with str-table.c, test-hash.c, test-mempool.c, auth-server-connection.c, master-auth.c, master-login-auth.c, mail-cache-fields.c, mail-index.c, mailbox-list-index.c, mailbox-list-index-sync.c, maildir-keywords.c, mdbox-purge.c, connect-limit.c, auth-request-handler.c, db-checkpassword.c, service-monitor.c, service-process.c, pop3-commands.c, log-connection.c, doveconf.c, user-directory.c, replicator-connection.c, dsync-mailbox-import.c, dsync-mailbox-export.c, dsync-transaction-log-scan.c, doveadm-director.c, doveadm-kick.c, acl-cache.c, doveadm-expire.c and push-notification-txn-msg.c.



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, March 18, 2019 10:50 AM, Aki Tuomi <aki.tuomi@open-xchange.com> wrote:


On 18.3.2019 12.48, Rupert Gallagher via dovecot wrote:
Attached warnings from clang 7.0 when compiling child-wait.c from dovecot 2.3.5:

"arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension
[-Wnull-pointer-arithmetic]".



This is fixed in master with

https://github.com/dovecot/core/commit/ac7aa955db4c77bbb169baa5d104a4c128674646.patch

Aki