diff options
| author | Hossein <hossein@libreoffice.org> | 2026-03-29 20:47:13 +0200 |
|---|---|---|
| committer | Hossein <hossein@libreoffice.org> | 2026-03-30 17:41:16 +0200 |
| commit | 228c03d878e3e60300c541730a36a46bd044c859 (patch) | |
| tree | a1730d62a7cae0309b20bbca1a74d01abb9d564e /icon-themes/tango/cmd/lc_splitcell.png | |
| parent | 107aff7382654109b614a24d933dc6301dac06d1 (diff) | |
Make odk unoapploader C code build with GCC 15.2
With GCC 15.2, compiler produces this error message:
[LOC] top level modules: odk
odk/source/unoapploader/unx/unoapploader.c: In function ‘createCommandName’:
odk/source/unoapploader/unx/unoapploader.c:285:13: error: assignment discards
‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
285 | sep = strrchr( prgname, SEPARATOR );
| ^
cc1: all warnings being treated as errors
By defining sep as "const char*" instead of "char*", the problem goes away.
Change-Id: If1d628dba8bb4ec657b916fa61927b250d3039c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202942
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'icon-themes/tango/cmd/lc_splitcell.png')
0 files changed, 0 insertions, 0 deletions
