cc'ing back to ports - On 2023/09/06 13:57, Jos Dehaes wrote: > It's due to the include files. There is no std::ranges::for_each (and the > other ones). > > Also, I notice that clang/c++ is still version 13.0.0 after installing LLVM > 16.
the latest version of the port I sent uses clang/llvm 16 on a -current ports tree. you can see that in the output I pasted previously. [...] clang-16: warning: -lkvm: 'linker' input unused [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] In file included from src/btop.cpp:47: src/btop_tools.hpp:159:35: error: use of undeclared identifier 'ranges'; did you mean 'std::ranges'? [...] > Apparently the headers come from comp73 and clang comes from base73 package. > > I did sysupgrade but still the same problem. Until compiler and libc++ are > upgraded, it won't > work with clang. so if it needs new libc++ we just have to park this until libc++ can be updated (this certainly won't be before 7.4 release).