[Dovecot] Problem compiling dovecot 2.1 Beta1 under Solaris 10on SPARC

Timo Sirainen tss at iki.fi
Wed Nov 23 16:58:41 EET 2011


On 23.11.2011, at 12.01, Jürgen Obermann wrote:

>> On 22.11.2011, at 22.11, Jürgen Obermann wrote:
>> 
>>> "imapc-client.h", line 21: warning: enumerator value overflows INT_MAX (2147483647)
>> 
>> What? No it doesn't.. Does changing the 0x400000000 in line 20 to 0x200000000 help?
> 
> No, but stripping off the last zero helps, because INT_MAX is 0x7FFFFFFF.

Oops :) Looks like gcc automatically increases the enum's size to 64bit in that case.

> "imapc-storage.c", line 500: void function cannot return value

http://hg.dovecot.org/dovecot-2.1/rev/bfcd0bed5a9e




More information about the dovecot mailing list