patacongo commented on pull request #3626:
URL: https://github.com/apache/incubator-nuttx/pull/3626#issuecomment-829601604


   build is failing because of:
   
       stubs/STUB_nx_pthread_exit.c: In function 'STUB_nx_pthread_exit':
       Error: stubs/STUB_nx_pthread_exit.c:12:1: error: control reaches end of 
non-void function [-Werror=return-type]
          12 | }
             | ^
   
   I think that the fix is in syscall.csv as for other no return functions:
   
       syscall.csv:"_exit","unistd.h","","noreturn","int"
       syscall.csv:"exit","stdlib.h","","noreturn","int"
       
syscall.csv:"pthread_exit","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","noreturn","pthread_addr_t"
   
   vs.
   
       
"nx_pthread_create","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_trampoline_t","FAR
 pthread_t *","FAR const pthread_attr_t 
*","pthread_startroutine_t","pthread_addr_t"
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to