anchao opened a new pull request, #15865:
URL: https://github.com/apache/nuttx/pull/15865

   ## Summary
   
   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:
   
   https://github.com/llvm/llvm-project/pull/92663
   
   Signed-off-by: chao an <anchao.arc...@bytedance.com>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   libcxx with GCC-14


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to