cuiziweizw opened a new pull request, #18151: URL: https://github.com/apache/nuttx/pull/18151
…e upstream integrity ## Summary - Add c++config.h to improve libstdc++ configuration support - Update CMakeLists.txt and libsupc++.defs to integrate the new config header - Remove the obsolete 0001-libsupc-Add-missing-header-files.patch to clean up the codebase These changes enhance the maintainability and portability of the C++ standard library and simplify the build process. ## Impact - c++config.h is a configuration file that supports the libstdc++ library. Due to its upstream origin, the code style within this file cannot be adjusted to meet the Apache NuttX community's CI formatting requirements. It may be necessary to skip the community CI format checks for this file to avoid unnecessary failures. ## Testing ### Test Environment Host: Linux x86_64 Build config: default libstdc++ options Board: QEMU/simulator ### Test Steps 1. Clean and rebuild nuttx 2. Enable CONFOG_LIBSUPCXX and CONFIG_CXXTEST 4. Ensure successful compilation with no errors 5. Run the cxxtest example to verify libsupc++ functionality ### Test Results Simulated Test Scenario ``` ./tools/configure.sh sim:nsh make menuconfig make -j16 nsh> cxxtest -- 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]
