Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /Users/alexeye/Downloads/lfk/lfk-core/src/kernel_runner.c:97:1: warning:
- non-void function does not return a value [-Wreturn-type]
- }
- ^
- 1 warning generated.
- [ 89%] Building C object lfk-core/CMakeFiles/lfk-core-lib.dir/src/benchmark.c.o
- /Users/alexeye/Downloads/lfk/lfk-core/src/benchmark.c:272:5: error: implicit
- declaration of function 'pthread_setschedprio' is invalid in C99
- [-Werror,-Wimplicit-function-declaration]
- pthread_setschedprio(main_thread, max_prio_for_policy);
- ^
- /Users/alexeye/Downloads/lfk/lfk-core/src/benchmark.c:272:5: note: did you mean
- 'pthread_setschedparam'?
- /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/pthread.h:488:5: note:
- 'pthread_setschedparam' declared here
- int pthread_setschedparam(pthread_t, int, const struct sched_param *);
- ^
- 1 error generated.
- make[2]: *** [lfk-core/CMakeFiles/lfk-core-lib.dir/src/benchmark.c.o] Error 1
- make[1]: *** [lfk-core/CMakeFiles/lfk-core-lib.dir/all] Error 2
- make: *** [all] Error 2
- alexeye@Alexeys-MacBook-Air lfk %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement