You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/02/21 22:15:41 UTC

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #5577: os init_state: add new state OSINIT_OSIDLELOOP

masayuki2009 commented on pull request #5577:
URL: https://github.com/apache/incubator-nuttx/pull/5577#issuecomment-1047263697


   ```
   ====================================================================================
   Configuration/Tool: sim/ostest
   ------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Building NuttX...
   In file included from /github/workspace/sources/nuttx/include/stdbool.h:54,
                    from semaphore/sem_wait.c:27:
   semaphore/sem_wait.c: In function 'nxsem_wait':
   Error: semaphore/sem_wait.c:80:15: error: implicit declaration of function 'OSINIT_OS_IDLELOOP'; did you mean 'OSINIT_IDLELOOP'? [-Werror=implicit-function-declaration]
      80 |   DEBUGASSERT(OSINIT_OS_IDLELOOP() && !sched_idletask());
         |               ^~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
   make[1]: *** [Makefile:57: sem_wait.o] Error 1
   In file included from /github/workspace/sources/nuttx/include/stdbool.h:54,
                    from semaphore/sem_trywait.c:27:
   semaphore/sem_trywait.c: In function 'nxsem_trywait':
   Error: semaphore/sem_trywait.c:76:15: error: implicit declaration of function 'OSINIT_OS_IDLELOOP'; did you mean 'OSINIT_IDLELOOP'? [-Werror=implicit-function-declaration]
      76 |   DEBUGASSERT(OSINIT_OS_IDLELOOP() && !sched_idletask());
         |               ^~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
   make[1]: *** [Makefile:57: sem_trywait.o] Error 1
   make[1]: Target 'libsched.a' not remade because of errors.
   make: *** [tools/LibTargets.mk:59: sched/libsched.a] Error 2
   make: Target 'all' not remade because of errors.
   ```
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org