pyuno/source/module/pyuno_dlopenwrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cecee0d12245f89b65a8e0a6df883aa7790233fe Author: AnamayNarkar <[email protected]> AuthorDate: Fri Feb 20 19:13:18 2026 +0530 Commit: Neil Roberts <[email protected]> CommitDate: Thu Mar 12 04:43:32 2026 +0100 pyuno: fix const char* build error in dlopenwrapper.c Building with clang 21.1.8 and --enable-werror fails because glibc 2.43 adopted the C23 behavior for strrchr(), where it now returns const char* when its input is const char*. Assigning the result to a plain char* discards the const qualifier, which clang rejects as an error since the flag is passed. Change-Id: Ib8eecd603bedb4a69c8f7bd93e49f01e8eba28d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199863 Tested-by: Jenkins Reviewed-by: Neil Roberts <[email protected]> diff --git a/pyuno/source/module/pyuno_dlopenwrapper.c b/pyuno/source/module/pyuno_dlopenwrapper.c index 78e6982e8945..1b79d5f24357 100644 --- a/pyuno/source/module/pyuno_dlopenwrapper.c +++ b/pyuno/source/module/pyuno_dlopenwrapper.c @@ -40,7 +40,7 @@ static void * load(void const * address, char const * symbol) { Dl_info dl_info; - char * slash; + const char * slash; size_t len; char * libname; void * h;
