xiaoxiang781216 commented on PR #20675:
URL: https://github.com/apache/nuttx/pull/20675#issuecomment-6183258986

   @casaroli could you look at this ci error:
   ```
   
====================================================================================
   Configuration/Tool: esp32-devkitc/nxdiag
   2026-10-14 23:49:28
   
------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Building NuttX...
   nxdiag.c: In function 'nxdiag_main':
   Error: nxdiag.c:241:7: error: implicit declaration of function 'exit' 
[-Wimplicit-function-declaration]
     241 |       exit(EXIT_FAILURE);
         |       ^~~~
   nxdiag.c:37:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
      36 | #include "sysinfo.h"
     +++ |+#include <stdlib.h>
      37 | #ifdef CONFIG_SYSTEM_NXDIAG_ESPRESSIF_CHIP_WO_TOOL
   Error: nxdiag.c:241:7: error: incompatible implicit declaration of built-in 
function 'exit' [-Werror=builtin-declaration-mismatch]
     241 |       exit(EXIT_FAILURE);
         |       ^~~~
   nxdiag.c:241:7: note: include '<stdlib.h>' or provide a declaration of 'exit'
   ```


-- 
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: [email protected]

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

Reply via email to