Sujet : Re: GCC 15 and sendmail and milter?
De : anon.amish (at) *nospam* gmail.com (AMM)
Groupes : comp.mail.sendmailDate : 11. Feb 2025, 14:48:09
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vofkeq$1peou$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 11/02/25 4:40 pm, Claus Aßmann wrote:
> AMM wrote:
>
>> Just wanted to point out that as per bug link below, currently sendmail
>> milter related packages do not compile with GCC 15.
>
> Is SM_CONF_STDBOOL_H defined for the platform?
From .spec or redhat.config.m4 file, I dont think so.
https://src.fedoraproject.org/rpms/sendmail/blob/rawhide/f/sendmail.specBut defining SM_CONF_STDBOOL_H will break backward compatibility with GCC 14. As it does not have stdbool.h
I am not an expert but may be something like this may work inside mfapi.h?
#ifdef __GNUC__
# include <features.h>
# if __GNUC_PREREQ(15,0)
# define SM_CONF_STDBOOL_H 1
# endif
#endif
// line 92 of mfapi.h
#if SM_CONF_STDBOOL_H
...
Regards
AMM.