v-zhangxiaomeng5 opened a new pull request, #17841: URL: https://github.com/apache/nuttx/pull/17841
This commit contains changes: 1) define new C++ locale macros CXX_MINI_LOCALIZATION & CXX_NO_LOCALIZATION 2) define a new C++ macro _LIBCPP_HAS_MINI_LOCALIZATION for CXX_MINI_LOCALIZATION 3) update libxx/libcxx/CMakeLists.txt & Make.defs *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Support mini-locale in libcxx to reduce the codesize when c++ locale is enabled. Now there are 3 kinds of c++ locale: 1) CXX_NO_LOCALIZATION 2) CXX_MINI_LOCALIZATION for reducing codesize but with basic ios/regex support 3) CXX_LOCALIZATION ## Impact If users want to use full c++ locale features, please enable CXX_LOCALIZATION. If users want to use basic ios/regex features, CXX_MINI_LOCALIZATION is good choice. ## Testing CI test. -- 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]
