1
|
CC src/htsmsg_binary.o
|
2
|
src/htsmsg_binary.c: In function ‘htsmsg_binary_des0’:
|
3
|
src/htsmsg_binary.c:80:39: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
|
4
|
80 | ((char *)f->_hmf_name)[namelen] = 0;
|
5
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
|
6
|
In file included from src/htsmsg_binary.h:22,
|
7
|
from src/htsmsg_binary.c:26:
|
8
|
src/htsmsg.h:84:14: note: at offset 0 to object ‘_hmf_name’ with size 0 declared here
|
9
|
84 | const char _hmf_name[0];
|
10
|
| ^~~~~~~~~
|
11
|
In file included from /usr/include/string.h:495,
|
12
|
from src/htsmsg_binary.c:24:
|
13
|
In function ‘memcpy’,
|
14
|
inlined from ‘htsmsg_binary_des0’ at src/htsmsg_binary.c:98:7:
|
15
|
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:34:10: error: writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=]
|
16
|
34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
|
17
|
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
18
|
In file included from src/htsmsg_binary.h:22,
|
19
|
from src/htsmsg_binary.c:26:
|
20
|
src/htsmsg_binary.c: In function ‘htsmsg_binary_des0’:
|
21
|
src/htsmsg.h:84:14: note: at offset 0 to object ‘_hmf_name’ with size 0 declared here
|
22
|
84 | const char _hmf_name[0];
|
23
|
| ^~~~~~~~~
|
24
|
cc1: all warnings being treated as errors
|
25
|
make[2]: *** [Makefile:715: /root/tvheadend/build.linux/src/htsmsg_binary.o] Fehler 1
|
26
|
make[2]: Verzeichnis „/root/tvheadend“ wird verlassen
|
27
|
make[1]: *** [debian/rules:15: override_dh_auto_build] Fehler 2
|
28
|
make[1]: Verzeichnis „/root/tvheadend“ wird verlassen
|
29
|
make: *** [debian/rules:6: build] Fehler 2
|
30
|
dpkg-buildpackage: Fehler: Unterprozess debian/rules build lieferte Exitstatus 2
|
31
|
root@dvb-s2:~/tvheadend# uname -a
|
32
|
Linux dvb-s2 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux
|
33
|
root@dvb-s2:~/tvheadend#
|
34
|
|