7 Jul
2009
7 Jul
'09
7:54 p.m.
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.
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.