Add gcc 15 support

[email protected] Thu, 23 Jan 2025 10:24:41 -0500
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
--17376458811.417cF3eA.2816
Date: Thu, 23 Jan 2025 10:24:41 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Fedora 42 is going to use gcc 15 which uses the C23 standard. This converte=
d a number of warnings into errors. I've addressed the errors in https://gi=
thub.com/cyrusimap/cyrus-sasl/pull/869

The issues addressed include:
 * The RETURN macro is defined differently in two places. Rename one.
 * Both atexit and the sigint and sigterm actions call server_exit().=20
The function arguments diff. Introduce a new generic signal handler to=20
call server_exit() for sigint and sigterm signals.

------------------------------------------
Cyrus: SASL
Permalink: https://cyrus.topicbox.com/groups/sasl/T8259ef2d00629667-M13aa36=
cc0b0b9d7555e33414
Delivery options: https://cyrus.topicbox.com/groups/sasl/subscription

--17376458811.417cF3eA.2816
Date: Thu, 23 Jan 2025 10:24:41 -0500
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html><html><html><body><div>Fedora 42 is going to use gcc 15 which uses th=
e C23 standard. This converted a number of warnings into errors. I&#39;ve a=
ddressed the errors in <a href=3D"https://github.com/cyrusimap/cyrus-sasl/p=
ull/869">https://github.com/cyrusimap/cyrus-sasl/pull/869</a><br /></div><d=
iv><br /></div><div>The issues addressed include:<br /></div><ul dir=3D"aut=
o"><li>The RETURN macro is defined differently in two places. Rename one.<b=
r /><li>Both atexit and the sigint and sigterm actions call server_exit().=
=20
The function arguments diff. Introduce a new generic signal handler to=20
call server_exit() for sigint and sigterm signals.<br /></ul><div><br /></d=
iv><div id=3D"topicbox-footer" style=3D"margin:10px 0 0;border-top:1px soli=
d #ddd;border-color:rgba(0,0,0,.15);padding:7px 0;">

<strong><a href=3D"https://cyrus.topicbox.com/latest" style=3D"color:inheri=
t;text-decoration:none">Cyrus</a></strong>
  / SASL / see
<a href=3D"https://cyrus.topicbox.com/groups/sasl">discussions</a>
  +
<a href=3D"https://cyrus.topicbox.com/groups/sasl/members">participants</a>
  +
<a href=3D"https://cyrus.topicbox.com/groups/sasl/subscription">delivery&nb=
sp;options</a>
<a href=3D"https://cyrus.topicbox.com/groups/sasl/T8259ef2d00629667-M13aa36=
cc0b0b9d7555e33414" style=3D"float:right">Permalink</a>
</div>
</body></html></html></html>=

--17376458811.417cF3eA.2816--