Wietse Venema via Postfix-users <postfix-users@postfix.org> writes: > Sam James via Postfix-users: >> Wietse Venema via Postfix-users <postfix-users@postfix.org> 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.gentoo.org/945733, with postfix-3.9.0, we >> >> get: >> >> ./mail_params.h:17:13: error: two or more data types in declaration >> >> specifiers >> >> 17 | typedef int bool; >> > >> > Will Postfix build if you replace that line with: >> > >> > #define bool int >> >> Yeah, builds fine with that, although it may lead to confusion given the >> built-in bool and int are different. > > Not until Postfix has to set, or act on, new bool values in system > or third-party APIs. > > There will be some time to rename the Postfix 3.10 internal bool > type before it becomes the next stable release. > > For the existing stable Postfix versions, you may have override > compiler options. >
Thank you Wietse, I'll build with -std=gnu17 for now. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org