<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">On 29. Jul 2021, at 7.21, Mart Pirita <<a href="mailto:mart@e-positive.ee" class="">mart@e-positive.ee</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div class="">Hello.<br class=""><br class="">So far I have successfully built Dovecot until v2.3.14 on Centos 4-6 (yes I know, they are old, but as they are remote servers, distros can't upgraded), and sometimes I have also met compilation issues, but after highlighting them, Timo have fixed the code.<br class=""><br class="">Found from similar thread (Dovecot 2.3.15 compilation fails <a href="https://dovecot.org/list/dovecot/2021-June/122412.html" class="">https://dovecot.org/list/dovecot/2021-June/122412.html</a> ) that new GCC is needed. However I can't find such requirement in v2.3.15 change log.<br class=""></div></div></blockquote><div><br class=""></div><div>Looks like we forgot to mention that.</div><br class=""><blockquote type="cite" class=""><div class=""><div class="">As seems that I'm not the only one with compilation issues, then @Timo - can You please fix the code so that also v2.3.15 can compiled on older distros?<br class=""></div></div></blockquote><div><br class=""></div><div>Sorry, it's no longer possible. The buffer.h API had to be changed to fix some real bugs: <a href="https://github.com/dovecot/core/commit/1d9b4e14008b15b7a34b5c633b09b9670e866256" class="">https://github.com/dovecot/core/commit/1d9b4e14008b15b7a34b5c633b09b9670e866256</a></div><div><br class=""></div><div>The original way I changed it would have made the code more complex and it was also a huge change. The final method was much simpler, but it requires now compiler support for anonymous unions and anonymous structs, i.e. C11. Although some older GCCs should also support it, but I guess you've a too old version.</div><div><br class=""></div></div></body></html>