FelipeMdeO opened a new pull request, #3786: URL: https://github.com/apache/nuttx-apps/pull/3786
## Summary `CONFIG_FSUTILS_TINYCBOR_LIB` fails to build on toolchains with their own `<memory.h>` (picolibc, newlib): `cbortojson.c` does `#include <memory.h>` meaning TinyCBOR's own (where `cbor_malloc`/`cbor_realloc`/`cbor_free` are declared), but only the parent directory was on the include path, so the toolchain's own `<memory.h>` wins instead, leaving those symbols implicitly declared. ## Impact Only affects `CONFIG_FSUTILS_TINYCBOR_LIB` builds on toolchains that ship their own `<memory.h>` (picolibc, newlib). No effect otherwise. ## Testing Built clean end to end as part of an out-of-tree application linking `libtinycbor` on `xtensa-esp-elf-gcc` (picolibc). `tools/checkpatch.sh -c -u -m -g` (from the `nuttx` repo, pointed at this repo) passes clean. -- 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]
