Saturday, December 30, 2023

libc++ 17

Hi,

I'm running OpenBSD 7.4 GENERIC.MP#1397 amd64.

I installed llvm/17 from ports. When I compile with the clang++-17
command the following example, the libc++ 13 is used:

#include <iostream>
#include <version>

int
main()
{
std::cout << _LIBCPP_VERSION << std::endl;
}

How can I get libc++ 17?


Thanks & best,
Irek

No comments:

Post a Comment