raiden00pl opened a new pull request, #3810:
URL: https://github.com/apache/nuttx-apps/pull/3810
## Summary
examples/tcpblaster: fix CMake build with GCC 14
With CMake, the tcpblaster host tool is built as part of the NuttX
build and uses the host C library headers. tcpblaster_server.c calls
accept4(), which glibc declares only when _GNU_SOURCE is defined, so
GCC 14 fails with "implicit declaration of function 'accept4'".
Define _GNU_SOURCE for the host tool in tcpblaster_host.cmake. The
Make build is not affected.
## Impact
fix build
## Testing
qemu-intel64/jumbo builds with cmake
--
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]