You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "cuiziweizw (via GitHub)" <gi...@apache.org> on 2026/01/26 07:23:30 UTC
[PR] libstdc++: Relocate c++config.h from include/ to libstdc++ to preserv… [nuttx]
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] libstdc++: Relocate c++config.h from include/ to libstdc++ to preserv… [nuttx]
Posted by "cuiziweizw (via GitHub)" <gi...@apache.org>.
cuiziweizw commented on PR #18151:
URL: https://github.com/apache/nuttx/pull/18151#issuecomment-3799584333
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.
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] libstdc++: Relocate c++config.h from include/ to libstdc++ to preserv… [nuttx]
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #18151:
URL: https://github.com/apache/nuttx/pull/18151#issuecomment-3799524648
@cuiziweizw please fix ci check error.
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] libstdc++: Relocate c++config.h from include/ to libstdc++ to preserv… [nuttx]
Posted by "Donny9 (via GitHub)" <gi...@apache.org>.
Donny9 merged PR #18151:
URL: https://github.com/apache/nuttx/pull/18151
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org