Package: fakeroot
Version: 1.35.1
Compiling 1.35 on Ubuntu with gcc-14 compiles correctly.
Compiling 1.35.1 fails.
gcc (Ubuntu 14-20240412-0ubuntu1) 14.0.1 20240412 (experimental)
[master r14-9935-g67e1433a94f]
Error messages are:
faked.c: In function 'get_msg':
faked.c:1092:9: error: assignment to 'uint8_t *' {aka 'unsigned char
*'} from incompatible pointer type 'struct fake_msg_buf *'
[-Wincompatible-pointer-types]
1092 | ptr = &fm;
| ^
make[2]: *** [Makefile:668: faked.o] Error 1
make[2]: *** Waiting for unfinished jobs....
communicate.c: In function 'send_get_fakem':
communicate.c:579:11: error: assignment to 'uint8_t *' {aka 'unsigned
char *'} from incompatible pointer type 'struct fake_msg_buf *'
[-Wincompatible-pointer-types]
579 | ptr = &fm;
| ^
make[2]: *** [Makefile:682: communicate.lo] Error 1