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.
Published at
2024-10-14 21:29:06Event JSON
{
"id": "940e9c7226073f79313079bdf05c75740d5e8058e436ec5d2d7ad20e2c10a5d0",
"pubkey": "1f79058c77a224e5be226c8f024cacdad4d741855d75ed9f11473ba8eb86e1cb",
"created_at": 1728941346,
"kind": 1,
"tags": [
[
"e",
"98f626a46fac85a232f47c418a3ea8ff447d3a0e0322d262c3ea6ce43598395a",
"wss://nos.lol/",
"mention"
],
[
"p",
"1f79058c77a224e5be226c8f024cacdad4d741855d75ed9f11473ba8eb86e1cb",
"wss://njump.me/",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "So, g++ 10.5.0 gave me \"201709\" for `__cplusplus`, but the bitcoin core 28.0 build fails when it's \"\u003c 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.\n\nIf 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.\n\nnostr:nevent1qvzqqqqqqypzq8meqkx80g3yuklzymy0qfx2ekk56aqc2ht4ak03z3em4r4cdcwtqy88wumn8ghj7mn0wvhxcmmv9uqjqamnwvaz7tmwdaehgu3wv45kuatwv3a8wctw0f5kwtnnwpskxef0qqsf3a3x53h6epdzxt68csv2865073ra8g8qxgkjvtp75m8yxkvrjks77et72",
"sig": "61d1af82f1c0a7542a9dfbfc24939cacac3d457d59f3ef8ada6aadefdf9ab91a1bbc23d7fece288c62abb7de53294507bfb4805881ca508ec336b4afc8659c38"
}