Oopenvela-robotexamples/pty_test: fix compile error.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
cmake:refine cmake build for apps/examples Signed-off-by: xuxin19 <xuxin19@xiaomi.com> | 2 个月前 | |
Kconfig: Make indent consistent with TABS | 2 个月前 | |
nshlib: support c++ access nsh api N/A Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
Merge branch 'dev-merge-github-20230228' into dev | 2 个月前 | |
examples/pty_test: fix compile error. CC: mm_heap/mm_heapmember.c pty_test.c: In function 'pts_main': pty_test.c:244:3: error: unknown type name 'pthread_t' 244 | pthread_t si_thread; | ^~~~~~~~~ pty_test.c:245:3: error: unknown type name 'pthread_t' 245 | pthread_t so_thread; | ^~~~~~~~~ pty_test.c:378:9: warning: implicit declaration of function 'pthread_create'; did you mean 'timer_create'? [-Wimplicit-function-declaration] 378 | ret = pthread_create(&si_thread, NULL, | ^~~~~~~~~~~~~~ | timer_create pty_test.c:379:25: error: 'pthread_startroutine_t' undeclared (first use in this function) 379 | (pthread_startroutine_t)serial_in, | ^~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com> | 2 个月前 |