Jaroslav Škarvada via Postfix-users <postfix-users@postfix.org> 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 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 (Please be careful when suggesting that, as the safety of it depends on if the value escapes to disk / in an API or not.) Anyway, see https://marc.info/?l=postfix-users&m=173540326904986&w=2. > > thanks & regards > > Jaroslav > > _______________________________________________ > Postfix-users mailing list -- postfix-users@postfix.org > To unsubscribe send an email to postfix-users-le...@postfix.org _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org