diff options
author | mark.yang <mark.yang@lge.com> | 2025-04-17 10:53:43 +0900 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-04-19 14:36:04 -0700 |
commit | a8b8eaa85b4630f63f53c4b905c68773f4a852a0 (patch) | |
tree | 533b652f510d65d28cd5d578e9123b4d77b4b9bc /meta-python/recipes-devtools/python/python3-matplotlib | |
parent | e81fefb0efb753d25f7c2716a52a73971f4b904b (diff) | |
download | meta-openembedded-a8b8eaa85b4630f63f53c4b905c68773f4a852a0.tar.gz |
netcat-openbsd: fix build error with gcc-15
* submit fix:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097448
to fix:
netcat.c:1443:41: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
1443 | signal(SIGALRM, quit);
| ^~~~
| |
| void (*)(void)
In file included from netcat.c:100:
TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/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)
| ~~~~~~~~~~~~~~~^~~~~~~~~
netcat.c:241:13: note: 'quit' declared here
241 | static void quit();
| ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/netcat-openbsd/1.195/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
make: *** [Makefile:17: netcat.o] Error 1
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-matplotlib')
0 files changed, 0 insertions, 0 deletions