On 24 Sep 2015, at 13:43, Marcin Mirosław <mar...@mejor.pl> wrote:
> 
> W dniu 23.09.2015 o 15:30, Timo Sirainen pisze:
>> http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz
>> http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz.sig
>> 
>> A lot of changes since v2.2.18, so here's a release candidate first. If no 
>> bugs are reported, I'm planning on making the final release sometimes this 
>> week. The most interesting new features here are the imap-hibernate process, 
>> quota count backend and director/proxy improvements.
> 
> Hi!
> I'm getting compilation error using clang:
> 
>> guid.c:106:2: error: array size is negative
>>        buffer_create_from_data(&buf, guid_r, GUID_128_SIZE);
>>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> ./buffer.h:23:8: note: expanded from macro 'buffer_create_from_data'
>>        (void)COMPILE_ERROR_IF_TRUE(__builtin_object_size((d),3) < 
>> ((s)?(s):1)); \

What happens if in src/lib/buffer.h line 23 you change the 
__builtin_object_size((d),3) to __builtin_object_size((d),1)? Does it work?

Reply via email to