/usr/include/dovecot/str.h

Josef 'Jeff' Sipek jeff.sipek at open-xchange.com
Thu Aug 20 17:13:41 EEST 2020


On Wed, Aug 19, 2020 at 15:59:59 +0200, Marc Roos wrote:
>  
> 
> 
> FYI, I am building on alpine 3.10 and 3.11 I am getting this build[1] 
> error.

That's the header file.  Where is it getting included from?  Is it C++ by
any chance?

> I think these header files of dovecot are not correct. Or are 
> they?
> 
> I changed line 35 in /usr/include/dovecot/str.h
> from
>  str_append_max(str, cstr, max_len);
> to
>  str_append_max(str, (const char *)cstr, max_len);
> 
> 
> [1]
> /usr/include/dovecot/str.h: In function 'void str_append_n(string_t*, 
> const void*, size_t)':

str_append_n() has been deprecated for a while and was removed in April this
year.  I don't remember if that means the removal made it into 2.3.11, but
it will definitely be gone from 2.3.12.

Jeff.

-- 
Si hoc legere scis nimium eruditionis habes.


More information about the dovecot mailing list