[Dovecot] v2.0.beta6 compilation problem under Solaris 9
Timo Sirainen
tss at iki.fi
Tue Jun 15 16:40:21 EEST 2010
On Tue, 2010-06-15 at 15:27 +0200, Juergen Obermann wrote:
> The above fix fixes only the syntax errors "empty declaration". The two
> errors "identifier redeclared" can be fixed by removing the redeclared
> identifiers from the header file imap-match.h:
..
> ! struct imap_match_glob *
> ! imap_match_dup(pool_t pool, const struct imap_match_glob *glob);
> /* Returns TRUE if two globs were created with same init() parameters
> (but inboxcase is ignored if no patterns can match INBOX) */
> ! bool imap_match_globs_equal(const struct imap_match_glob *glob1,
> ! const struct imap_match_glob *glob2);
In my imap-match.h these are the only declarations for these functions.
I don't see them being redeclared anywhere.
The only special thing I see about those functions compared to others is
that they use const struct, while others don't (but I use const structs
in many other places).
> "doveadm-expire.c", line 324: void function cannot return value
> cc: acomp failed for doveadm-expire.c
Fixed: http://hg.dovecot.org/dovecot-2.0/rev/d1f7b5e17252
More information about the dovecot
mailing list