Bug #4117
compile error
100%
Description
CC src/service_mapper.o
CC src/input.o
CC src/httpc.o
CC src/rtsp.o
CC src/download.o
CC src/fsmonitor.o
CC src/cron.o
CC src/esfilter.o
CC src/intlconv.o
CC src/profile.o
CC src/bouquet.o
CC src/lock.o
CC src/wizard.o
CC src/memoryinfo.o
CC src/api.o
CC src/api/api_config.o
CC src/api/api_status.o
CC src/api/api_idnode.o
src/api/api_idnode.c: In function ‘api_idnode_create_list’:
src/api/api_idnode.c:741:33: error: passing argument 3 of ‘htsmsg_add_str’ from incompatible pointer type [-Werror=incompatible-pointer-types]
htsmsg_add_str(resp, "uuid", list);
^~~
In file included from /root/tvheadend/src/hts_strtab.h:22:0,
from /root/tvheadend/src/tvheadend.h:39,
from src/api/api_idnode.c:20:
/root/tvheadend/src/htsmsg.h:165:6: note: expected ‘const char *’ but argument is of type ‘htsmsg_t * {aka struct htsmsg *}’
void htsmsg_add_str(htsmsg_t *msg, const char *name, const char *str);
^~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:627: die Regel für Ziel „/root/tvheadend/build.linux/src/api/api_idnode.o“ scheiterte
make2: ** [/root/tvheadend/build.linux/src/api/api_idnode.o] Fehler 1
make2: Verzeichnis „/root/tvheadend“ wird verlassen
History
Updated by Alfred Zastrow almost 8 years ago
the next one:
CC src/api/api_idnode.o
CC src/api/api_input.o
CC src/api/api_channel.o
CC src/api/api_service.o
CC src/api/api_mpegts.o
CC src/api/api_epg.o
CC src/api/api_epggrab.o
CC src/api/api_imagecache.o
CC src/api/api_esfilter.o
CC src/api/api_intlconv.o
CC src/api/api_access.o
CC src/api/api_dvr.o
src/api/api_dvr.c: In function ‘api_dvr_autorec_create’:
src/api/api_dvr.c:399:25: error: passing argument 1 of ‘api_idnode_create’ from incompatible pointer type [-Werror=incompatible-pointer-types]
api_idnode_create(dae, &dae->dae_id);
^~
In file included from src/api/api_dvr.c:24:0:
/root/tvheadend/src/api.h:126:6: note: expected ‘htsmsg_t ** {aka struct htsmsg }’ but argument is of type ‘dvr_autorec_entry_t * {aka struct dvr_autorec_entry *}’
void api_idnode_create
^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:627: die Regel für Ziel „/root/tvheadend/build.linux/src/api/api_dvr.o“ scheiterte
make2: * [/root/tvheadend/build.linux/src/api/api_dvr.o] Fehler 1
make2: Verzeichnis „/root/tvheadend“ wird verlassen
Updated by Jaroslav Kysela almost 8 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|1dd265220798785c21f3db6c9299b5d3ae7f581a.