Why Nostr? What is Njump?
2024-10-14 21:29:06

Râu Cao ⚡ on Nostr: So, g++ 10.5.0 gave me "201709" for `__cplusplus`, but the bitcoin core 28.0 build ...

So, g++ 10.5.0 gave me "201709" for `__cplusplus`, but the bitcoin core 28.0 build fails when it's "< 202002L", meaning you need a newer compiler now. If you're also still on Ubuntu 20.04, there's no available system package for something newer in the normal repos, but you can add e.g. the "ppa:ubuntu-toolchain-r/test" repo, which includes g++-13.

If you're also running LND, then you'll find that the current LND release is not yet compatible with bitcoin core 28.0 out of the box. You can fix the problem by setting "deprecatedrpc=warnings" for your bitcoind, until LND v0.18.4 is released.
Is this me being retarded, or is the bitcoin-core 28.0 configure script broken?

```
checking whether g++-10 supports C++20 features with -std=c++20... no
checking whether g++-10 supports C++20 features with +std=c++20... no
checking whether g++-10 supports C++20 features with -h std=c++20... no
configure: error: *** A compiler with support for C++20 language features is required.
```

I even compiled a test script with C++20 features using that same g++-10 (version 10.5.0) and that worked just fine.
Author Public Key
npub1raustrrh5gjwt03zdj8syn9vmt2dwsv9t467m8c3gua636uxu89svgdees