wengzhe opened a new pull request, #11556: URL: https://github.com/apache/nuttx/pull/11556
## Summary It seems libcxx needs C++20 from 12.0.0 to 17.0.6: https://github.com/llvm/llvm-project/commit/3b625060fc91598d28196e559196bfc7b9a929f9 But we're setting `CMAKE_CXX_STANDARD to 17`, errors on my side: ``` nuttx/libs/libxx/libcxx/src/include/to_chars_floating_point.h:122:46: error: ‘bit_cast’ is not a member of ‘std’ 122 | const _Uint_type _Uint_value = _VSTD::bit_cast<_Uint_type>(_Value); | ^~~~~~~~ nuttx/libs/libxx/libcxx/src/memory_resource_init_helper.h:2:8: error: ‘constinit’ does not name a type 2 | static constinit ResourceInitHelper res_init _LIBCPP_INIT_PRIORITY_MAX; | ^~~~~~~~~ nuttx/libs/libxx/libcxx/src/memory_resource_init_helper.h:2:8: note: C++20 ‘constinit’ only available with ‘-std=c++20’ or ‘-std=gnu++20’ ``` ## Impact CMake compile for libcxx ## Testing locally & CI -- 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]
