Saturday, December 30, 2023

Re: libc++ 17

Thank you for your authoritative answer. I'll try to build and use
libc++ 17 with devel/llvm/17, and then I'll report back on the
progress.¶


Best,
Irek

On 30.12.2023 13:11, Rafael Sadowski wrote:

> 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