Not sure I understand

verbose is an int

On 2025-02-15 23:05, Aki Tuomi wrote:

/home/cmouse/dovecot/include/dovecot/macros.h:173:21: error: size of unnamed array is negative 173 | (sizeof(char[1 - 2 * ((condition) ? 1 : 0)]) > 0 ? FALSE : FALSE)
|                     ^
/home/cmouse/dovecot/include/dovecot/macros.h:182:9: note: in expansion of macro 'COMPILE_ERROR_IF_TRUE'
182 |         COMPILE_ERROR_IF_TRUE( \
|         ^~~~~~~~~~~~~~~~~~~~~
/home/cmouse/dovecot/include/dovecot/settings-parser.h:80:34: note: in expansion of macro 'COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE' 80 | { .type = (_enum_type) + COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE( \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/cmouse/dovecot/include/dovecot/settings-parser.h:90:9: note: in expansion of macro 'SETTING_DEFINE_STRUCT_TYPE' 90 | SETTING_DEFINE_STRUCT_TYPE(SET_UINT, 0, unsigned int, key, name, struct_name)
|         ^~~~~~~~~~~~~~~~~~~~~~~~~~
fts-xapian-plugin.c:31:9: note: in expansion of macro 'SETTING_DEFINE_STRUCT_UINT' 31 | SETTING_DEFINE_STRUCT_##type("fts_xapian_"#name, name, struct fts_xapian_settings)
|         ^~~~~~~~~~~~~~~~~~~~~~
fts-xapian-plugin.c:37:9: note: in expansion of macro 'DEF'
37 |         DEF(UINT, verbose),

is the root cause, verbose is not compatible with SET_UINT.

Aki

On 15/02/2025 16:55 EET Joan Moreau via dovecot <dovecot@dovecot.org> wrote:

Yes

https://github.com/grosjo/fts-xapian/commit/e183253be394cad07f17885600d9a652a4e862e8

On 2025-02-15 22:47, Aki Tuomi wrote:

Do you have the code somewhere pushed?

Aki
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to