[pfx] Build errors with upcoming GCC 15 (defaults to -std=gnu23)

2024-12-28 Thread Sam James via Postfix-users
Hi, Apologies if this was reported already. Upcoming GCC 15 defaults to -std=gnu23 with which Postfix fails to build. As reported at https://bugs.gentoo.org/945733, with postfix-3.9.0, we get: ``` [...] x86_64-pc-linux-gnu-gcc -fPIC -I. -I../../include -DHAS_PCRE=2 -DUSE_TLS -DNO_NIS -DHAS_DEV_

[pfx] Re: Build errors with upcoming GCC 15 (defaults to -std=gnu23)

2024-12-28 Thread Sam James via Postfix-users
Wietse Venema via Postfix-users writes: > Sam James via Postfix-users: >> Hi, >> >> Apologies if this was reported already. >> >> Upcoming GCC 15 defaults to -std=gnu23 with which Postfix fails to build. >> >> As reported at https://bugs.gen

[pfx] Re: Build errors with upcoming GCC 15 (defaults to -std=gnu23)

2024-12-28 Thread Sam James via Postfix-users
Wietse Venema via Postfix-users writes: > Sam James via Postfix-users: >> Wietse Venema via Postfix-users writes: >> >> > Sam James via Postfix-users: >> >> Hi, >> >> >> >> Apologies if this was reported already. >> >>

[pfx] Re: gcc-15 support?

2025-03-08 Thread Sam James via Postfix-users
Wietse Venema via Postfix-users writes: > Sam James via Postfix-users: >> Jaroslav ?karvada via Postfix-users writes: >> > In Fedora downstream we compile it now with the explicit -std=gnu17, >> > but maybe it could be handled by type rename, stdbool, or pre

[pfx] Re: gcc-15 support?

2025-03-06 Thread Sam James via Postfix-users
Jaroslav Škarvada via Postfix-users writes: > Hi, > > gcc-15 defaults to the C23 standard which introduces new keyword > "bool" and postfix compilation fails: > > In file included from anvil_clnt.c:165: > ./mail_params.h:17:13: error: ‘bool’ cannot be defined via ‘typedef’ >17 | typedef int b