[Dovecot] libsieve compilation error on AIX 5.3
Timo Sirainen
tss at iki.fi
Tue Jul 7 19:54:03 EEST 2009
On Mon, 2009-07-06 at 15:54 +0200, Stephan Bosch wrote:
> Jonathan Siegle wrote:
> >
> > Ok. I added -qkeyword=typeof to my CFLAGS and the errors go away and no
> > further issues on compilation.
> Ok. Now why does autoconf not automatically handle this CFLAG? Timo?
I don't think autoconf tries to enable random C extensions to compilers.
> >> http://hg.rename-it.nl/dovecot-libsieve/rev/bd106aa05040
> >>
> >
> > I didn't have to update to this to make it compile. I don't know if you
> > need to keep that patch set around.
> That depends on whether there are any other Dovecot-supported compilers
> out there that would fail on this code.
typeof() isn't in any C standard, so I've used it only optionally with
#ifdef __GNUC__ to get better type checking.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090707/fca8f0b9/attachment.bin
More information about the dovecot
mailing list