Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libc/libcxx: fix failures with GCC 14
CXX: libcxx/libcxx/src/random.cpp In file included from nuttx/include/libcxx/__filesystem/filesystem_error.h:15, from nuttx/include/libcxx/__filesystem/directory_entry.h:20, from nuttx/include/libcxx/filesystem:539, from nuttx/include/libcxx/fstream:192, from libcxx/libcxx/src/ios.instantiations.cpp:10: nuttx/include/libcxx/__filesystem/path.h: In instantiation of 'std::__1::__fs::filesystem::path::_EnableIfPathable<_Source> std::__1::__fs::filesystem::path::append(const _Source&) [with _Source = std::__1::basic_string<char>]': nuttx/include/libcxx/__filesystem/path.h:623:30: error: use of built-in trait '__remove_pointer(typename std::__1::decay<_Tp>::type)' in function signature; use library traits instead 623 | _EnableIfPathable<_Source> append(const _Source& __src) { | ^~~~~~ Pick the change from llvm-project: llvm/llvm-project#92663 Signed-off-by: chao an <anchao.archer@bytedance.com>
- Loading branch information