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.

Reply to this note

Please Login to reply.

Discussion

(I had actually changed the compiler to g++-10 this year in June, when I upgraded bitcoin-core from 26 to 27.1.)

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.

nostr:nevent1qvzqqqqqqypzq8meqkx80g3yuklzymy0qfx2ekk56aqc2ht4ak03z3em4r4cdcwtqy88wumn8ghj7mn0wvhxcmmv9uqjqamnwvaz7tmwdaehgu3wv45kuatwv3a8wctw0f5kwtnnwpskxef0qqsf3a3x53h6epdzxt68csv2865073ra8g8qxgkjvtp75m8yxkvrjks77et72