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 bool;
| ^~~~
./mail_params.h:17:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
./mail_params.h:17:1: warning: useless type name in empty declaration
17 | typedef int bool;
| ^~~~~~~
In Fedora downstream we compile it now with the explicit -std=gnu17,
but maybe it could be handled by type rename, stdbool, or preprocessor
conditionals
thanks & regards
Jaroslav
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]