Displaying 2 results from an estimated 2 matches for "compile_error_if_types_not_compat".
2014 Jul 24
0
Problems with custom plugin
...raded
Dovecot to version 2.2.9 and now I cannot build my plugin anymore.
I get two error messages which both describe the same thing:
src/mbc-plugin.c: In function ?mbc_mailbox_create?:
/usr/include/dovecot/src/lib/module-context.h:46:67: error: ?struct
mbc_user_module? has no member named ?reg?
COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE(OBJ_REGISTER(obj), (id_ctx).reg)
src/mbc-plugin.c: In function ?mbc_mail_user_created?:
/usr/include/dovecot/src/lib/module-context.h:46:67: error: ?struct
mbc_user_module? has no member named ?reg?
COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE(OBJ_REGISTER(obj), (id_ctx).reg)
Obviously the module...
2014 Jul 28
2
not able to compile deleted_to_trash Plugin
...mail_id, &mail->uid, 1);
^
/usr/include/dovecot/macros.h:155:26: note: in definition of macro 'COMPILE_ERROR_IF_TRUE'
(sizeof(char[1 - 2 * !!(condition)]) - 1)
^
/usr/include/dovecot/array.h:48:2: note: in expansion of macro 'COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE'
COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE( \
^
/usr/include/dovecot/array.h:152:33: note: in expansion of macro 'ARRAY_TYPE_CHECK'
array_append_i(&(array)->arr + ARRAY_TYPE_CHECK(array, data), \
^
deleted-to-trash-plugin.c:232:4: note: in e...