aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.h
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-09-14 13:12:14 +0100
committerfanquake <fanquake@gmail.com>2023-09-14 14:16:49 +0100
commit4a825039a509c43ba20b2cd7aab448b3be16bcc3 (patch)
treea7b022158e4871f091d8da9e0be0f60f49c9afd0 /src/qt/rpcconsole.h
parentf5c5ddafbcaad7225312cb032b108a3527f0ac0f (diff)
downloadbitcoin-4a825039a509c43ba20b2cd7aab448b3be16bcc3.tar.xz
build: use _LIBCPP_ENABLE_DEBUG_MODE over ENABLE_ASSERTIONS
`_LIBCPP_ENABLE_ASSERTIONS` is deprecated, and will be removed. [See (from libc++ __config in main)](https://github.com/llvm/llvm-project/blob/b57df9fe9a1a230f277d671bfa0884bbda9fc1c5/libcxx/include/__config#L205-L209): > TODO(hardening): remove this in LLVM 19. > This is for backward compatibility -- make enabling `_LIBCPP_ENABLE_ASSERTIONS` (which predates hardening modes) > equivalent to setting the safe mode. > ifdef _LIBCPP_ENABLE_ASSERTIONS > warning "_LIBCPP_ENABLE_ASSERTIONS is deprecated, please use _LIBCPP_ENABLE_SAFE_MODE instead." From LLVM 17, `_LIBCPP_ENABLE_DEBUG_MODE` can be used instead. See https://libcxx.llvm.org/Hardening.html. Related to #28476.
Diffstat (limited to 'src/qt/rpcconsole.h')
0 files changed, 0 insertions, 0 deletions