yamt commented on a change in pull request #373: Suppress some "'noreturn' function does return" warnings URL: https://github.com/apache/incubator-nuttx/pull/373#discussion_r383724700
########## File path: arch/arm/src/common/up_pthread_start.c ########## @@ -80,6 +80,8 @@ void up_pthread_start(pthread_startroutine_t entrypt, pthread_addr_t arg) /* Let sys_call2() do all of the work */ sys_call2(SYS_pthread_start, (uintptr_t)entrypt, (uintptr_t)arg); + + PANIC(); Review comment: include/nuttx/arch.h has their prototypes with noreturn_function. ---------------------------------------------------------------- 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] With regards, Apache Git Services
