diff options
author | mark.yang <mark.yang@lge.com> | 2025-03-26 16:34:09 +0900 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-03-26 07:37:50 -0700 |
commit | 1de4965018c57bba9b3040b6704c65ecc0cbd77c (patch) | |
tree | 638d3f81a1dcb740ead68c2d4b887e938522f125 /meta-python/recipes-devtools/python/python3-m2crypto/0001-setup.py-Make-the-cmd-available.patch | |
parent | 950b33eebf56a2504f17f1d0c2dffd66f3f96652 (diff) | |
download | meta-openembedded-1de4965018c57bba9b3040b6704c65ecc0cbd77c.tar.gz |
cpulimit: fix build with gcc-15
* to fix: Error occurs in gcc 15.0.1 environment.
busy.c: In function 'main':
busy.c:20:58: error: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types]
20 | if ((ret = pthread_create(&thread, NULL, loop, NULL)) != 0)
| ^~~~
| |
| void * (*)(void)
In file included from busy.c:3:
recipe-sysroot/usr/include/pthread.h:204:36: note: expected 'void * (*)(void *)' but argument is of type 'void * (*)(void)'
204 | void *(*__start_routine) (void *),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
busy.c:6:7: note: 'loop' declared here
6 | void *loop()
| ^~~~
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-m2crypto/0001-setup.py-Make-the-cmd-available.patch')
0 files changed, 0 insertions, 0 deletions