casaroli opened a new pull request, #3845:
URL: https://github.com/apache/nuttx-apps/pull/3845

   ## Summary
   
   `imx93-evk:optee` does not compile on master: `optee_gp_main.c:115: error: 
implicit declaration of function 'malloc'`.
   
   `optee_gp_main.c` calls `malloc()`, `free()`, `memset()` and `memcmp()`, but 
got their declarations only indirectly. Since apache/nuttx#20565, `stdio.h` 
does not include `nuttx/lib/lib.h`. This PR includes `stdlib.h` and `string.h` 
directly.
   
   ## Impact
   
   Build fix only. This config fails the `Linux (arm64-01)` CI job of every 
nuttx PR.
   
   ## Testing
   
   `imx93-evk:optee` builds on master with this PR. `tools/checkpatch.sh -f` 
passes.
   


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