<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Werner,</div>
<div dir="ltr" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Understood and agree. </div>
<div dir="ltr" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have proposed the 3 patches that address the warnings that should be fully backward compatible. I skipped fixing the the 'const' qualifier in tests/testdrv.c - given it is a test and - that the local char* arg_list is used for both const char and char pointers.</div>
<div id="appendonsend" dir="ltr"></div>
<div dir="ltr"><br>
</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hope these are acceptable.</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Rudi</div>
<div dir="ltr" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>From:</b> Werner Koch<br>
<b>Sent:</b> Friday, January 30, 2026 8:32 PM<br>
<b>To:</b> Rudi Heitbaum via Gnupg-devel<br>
<b>Cc:</b> Rudi Heitbaum<br>
<b>Subject:</b> Re: Building 1.12.0 with glib-2.43 has the following const warnings.</div>
<div dir="ltr" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-size: 11pt;">Hi!<br>
<br>
On Thu, 29 Jan 2026 22:00, Rudi Heitbaum said:<br>
<br>
> For ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr,<br>
> strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return<br>
> pointers into their input arrays now have definitions as macros that<br>
> return a pointer to a const-qualified type when the input argument is<br>
<br>
“Breaking C for Fun and Profit”<br>
<br>
Actually this is a useful thing but this and the new keywords break all<br>
kind of existing code. We can't change everything for the benefit of a<br>
new compiler and with that break bulding the software on dozens of other<br>
platforms.<br>
<br>
<br>
Shalom-Salam,<br>
<br>
Werner<br>
<br>
--<br>
The pioneers of a warless world are the youth that<br>
refuse military service. - A. Einstein</div>
</body>
</html>