[Dovecot] Compilation Issue on Old Boxes with macro in src/master/main.c

Timo Sirainen tss at iki.fi
Thu Feb 26 18:26:30 EET 2009


On Thu, 2009-02-26 at 10:29 -0500, Kevin A. McGrail wrote:
> I'll admit that I'm out of my league on this. It does compile with this 
> change I made but I may not be within the standard for the same reason. 

It was standard.

> Here's the items I was reading about the issue:
> 
> http://gcc.gnu.org/ml/gcc-patches/2002-02/msg01874.html

But printf() isn't normally a macro. I was also wondering if it was even
allowed to be macro, i.e. if your system was completely broken. But
looks like it's allowed, so Dovecot shouldn't do that..

Anyway, did a cleaner fix:
http://hg.dovecot.org/dovecot-1.1/rev/2c7111b2b0d0

-------------- 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/20090226/0fd51a83/attachment.bin 


More information about the dovecot mailing list