Hi
Using latest git, I get 2 very weird errors
1 - Just launching dovecot, I get: Feb 15 14:04:05 gjserver dovecot[444199]: doveconf: Fatal: Error in configuration file /etc/mail/dovecot/dovecot.conf line 13: mail_location: Unknown setting: mail_location
My mail_location is
mail_location = mdbox:/data/mails/%d/%n
All was working fine at the time of release of 2.4
Not any more
2 - Trying to adjust my plugin (FTS Xapian) to latest git, I get :
make[2]: Entering directory '/files/src/fts-xapian/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -O2 -I/usr/include/dovecot -DFTS_MAIL_USER_INIT_FOUR_ARGS=1
-g -O2 -std=gnu99 -fstack-protector-strong -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -O2 -MT fts-xapian-plugin.lo -MD -MP -MF
.deps/fts-xapian-plugin.Tpo -c -o fts-xapian-plugin.lo
fts-xapian-plugin.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2
-I/usr/include/dovecot -DFTS_MAIL_USER_INIT_FOUR_ARGS=1 -g -O2
-std=gnu99 -fstack-protector-strong -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -O2 -MT fts-xapian-plugin.lo -MD -MP -MF
.deps/fts-xapian-plugin.Tpo -c fts-xapian-plugin.c -fPIC -DPIC -o
.libs/fts-xapian-plugin.o
In file included from /usr/include/dovecot/lib.h:37,
from fts-xapian-plugin.h:7,
from fts-xapian-plugin.c:3:
/usr/include/dovecot/macros.h:173:21: error: size of unnamed array is
negative
173 | (sizeof(char[1 - 2 * ((condition) ? 1 : 0)]) > 0 ? FALSE
: FALSE)
| ^
The first line of fts-xapian-plugin.h is
#include "lib.h" (nothing else before)
Your help welcome
Thank you so muich