Saturday, December 30, 2023

Re: libc++ 17

On Sat Dec 30, 2023 at 10:56:56AM +0100, Irek Szcześniak wrote:
> 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
>

Because there is only on libc++ and that one is from base and we are
still on version 13 yet. devel/llvm/1{6,8} is shipped with no libc++.

New base libc++ is WIP.

Rafael

No comments:

Post a Comment