[Dovecot] Problem Compiling 1.1.1 on AIX

Timo Sirainen tss at iki.fi
Wed Jun 25 18:36:07 EEST 2008


On Tue, 2008-06-24 at 15:35 -0600, Jackie Hunt wrote:
> Looking at macros.h, the section it is erroring on is:
> 
> #ifdef CONTEXT_TYPE_SAFETY
> #  define CONTEXT_CALLBACK(name, callback_type, callback, context, ...) \
>         ({(void)(1 ? 0 : callback(context)); \
>         name(__VA_ARGS__, (callback_type *)callback, context); })
> #else
> #  define CONTEXT_CALLBACK(name, callback_type, callback, context, ...) \
>         name(__VA_ARGS__, (callback_type *)callback, context)
> #endif
> 
> The second define is the line the error occurs on.  Has anyone seen this
> before.  I'm assuming xlc can't handle the '...' parameter, and an hoping
> there is an option I can enable.  Just thought I might see if anyone else
> has already solved this issue.

Can you somehow enable C99 support for xlc? Is there something like a
-c99 parameter?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080625/d4968df9/attachment.bin 


More information about the dovecot mailing list