nuttx/libs
Zhe Weng b8e0423b74 libcxx: Fix CMake compile with correct CMAKE_CXX_STANDARD
It seems libcxx needs C++20 from 12.0.0 to 17.0.6: 3b625060fc

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’

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-01-16 21:54:30 -08:00
..
libc libc.csv: Fix qsort signature with unexpected quotation mark 2024-01-14 02:17:22 -08:00
libdsp Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
libm libm: Fix an issue that public header files are not exported 2023-11-23 16:32:53 +01:00
libnx semaphore/_SEM_XX: Remove the _SEM redirection macros as unnecessary 2023-11-27 04:52:54 -08:00
libxx libcxx: Fix CMake compile with correct CMAKE_CXX_STANDARD 2024-01-16 21:54:30 -08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00