mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00
![]() * fix build error with gcc-15 ../ssmtp-2.64/ssmtp.c:1454:31: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1454 | (void)signal(SIGALRM, (void(*)())handler); /* Catch SIGALRM */ | ^~~~~~~~~~~~~~~~~~ | | | void (*)(void) In file included from TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/recipe-sysroot/usr/include/sys/param.h:28, from ../ssmtp-2.64/ssmtp.c:18: TOPDIR/tmp/work/core2-64-oe-linux/ssmtp/2.64/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ ../ssmtp-2.64/ssmtp.c:1393:6: note: 'handler' declared here 1393 | void handler(void) | ^~~~~~~ Signed-off-by: mark.yang <mark.yang@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> |
||
---|---|---|
.. | ||
ssmtp | ||
ssmtp_2.64.bb |