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.
signature.asc
Description: This is a digitally signed message part