nuttx/libs/libxx
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
..
libcxxmini libs/libxx: remove redundant code 2023-05-03 19:54:19 +08:00
__config_site upgrade llvm version to 17.0.6 and set default nuttx math lib as default 2023-12-17 03:39:26 -08:00
.gitignore build: add initial cmake build system 2023-07-08 13:50:48 +08:00
0001_fix_stdatomic_h_miss_typedef.patch libcxx: fix build error. 2023-12-06 07:56:17 -08:00
0001-uClibcxx-basic_definitions-fix-GCC-specific-definiti.patch
0001-uclibxx-use-overload-constructor-of-filebuf-ostream.patch
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
etl.defs treewide: add DOWNLOAD variable as unification of curl call 2023-03-08 17:05:05 +08:00
Kconfig upgrade llvm version to 17.0.6 and set default nuttx math lib as default 2023-12-17 03:39:26 -08:00
libcxx.cmake libcxx: Fix CMake compile with correct CMAKE_CXX_STANDARD 2024-01-16 21:54:30 -08:00
libcxx.defs libcxx.defs: appease "expr: syntax error" messages with clang 2024-01-04 13:01:42 +01:00
libcxxabi.cmake libcxxabi.cmake: fix build error 2024-01-04 07:20:04 -08:00
libcxxabi.defs libcxx: Remove exiting patches and update libcxx version to 15.0.7 2023-09-24 08:40:10 +03:00
libcxxmini.cmake build: add initial cmake build system 2023-07-08 13:50:48 +08:00
libcxxmini.defs
Makefile Minor style clean up 2023-01-28 19:53:20 +02:00
mbstate_t.patch upgrade llvm version to 17.0.6 and set default nuttx math lib as default 2023-12-17 03:39:26 -08:00
system_configuration.h
uClibc++.defs Don't download tarballs if a local git repo found 2022-12-05 10:47:36 +01:00