-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Hello,
Trying to build naemon 1.5.0 (1.4.4 fails too) with gcc 15.2.1 20260209 fails with following error message:
src/naemon/checks.c: In function 'parse_output':
src/naemon/checks.c:114:19: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
114 | p = strpbrk((const char *) tmp, "|");
| ^
src/naemon/checks.c:141:19: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
141 | p = strpbrk((const char *) tmp, "|");
| ^
cc1: all warnings being treated as errors
make[1]: *** [Makefile:2009: src/naemon/checks.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/naemon/src/naemon-git'
make: *** [Makefile:1355: all] Error 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels