uemacs fails to compile with GCC 14
What I did
- Buildroot commit sha1: 2024.11-79-gccaa97bac1
- Distribution of the build machine: AlmaLinux 9.5
defconfig:
BR2_riscv=y
BR2_GCC_VERSION_14_X=y
BR2_PACKAGE_UEMACS=yWhat happens
Running make uemacs results in the following compilation error due to warnings that have become errors in gcc14:
pklock.c: In function ‘dolock’:
pklock.c:84:17: error: implicit declaration of function ‘cuserid’ [-Wimplicit-function-declaration]
84 | cuserid(locker);
| ^~~~~~~
make[1]: *** [Makefile:124: pklock.o] Error 1