On Mon, Feb 16, 2026 at 12:06:54PM +0000, Rudi Heitbaum via Openvpn-devel wrote: > Since glibc-2.43: > > For ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr, > strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return pointers > into their input arrays now have definitions as macros that return a > pointer to a const-qualified type when the input argument is a pointer > to a const-qualified type. > > fixes: > src/openvpn/dns.c: In function 'dns_server_addr_parse': > src/openvpn/dns.c:67:25: warning: initialization discards 'const' > qualifier from pointer target type [-Wdiscarded-qualifiers] > 67 | char *first_colon = strchr(addr, ':'); > | ^~~~~~ > src/openvpn/dns.c:68:24: warning: initialization discards 'const' > qualifier from pointer target type [-Wdiscarded-qualifiers] > 68 | char *last_colon = strrchr(addr, ':'); > | ^~~~~~~ > > Signed-off-by: Rudi Heitbaum <[email protected]> > --- > src/openvpn/dns.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)
Since upgrading the arch container yesterday we also see these in our CI builds now. Acked-by: Frank Lichtenheld <[email protected]> Also put this into Gerrit as https://gerrit.openvpn.net/c/openvpn/+/1542 to get test builds. Regards, -- Frank Lichtenheld _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
