aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-08-08 17:16:36 +0100
committerfanquake <fanquake@gmail.com>2022-08-19 08:58:56 +0100
commitced00f5a2e2b8623d1ee6a9afef80fc5df08d509 (patch)
treeeff61fff3aa71c11294bc29d10ce48093f5b33ef /README.md
parent888628cee00c014f4d9ec7c390f38146e498c9c2 (diff)
downloadbitcoin-ced00f5a2e2b8623d1ee6a9afef80fc5df08d509.tar.xz
fs: work around u8path deprecated-declaration warnings with libc++
When building in c++20 mode using libc++, the following warning is emitted: ```bash ./fs.h:72:29: warning: 'u8path<std::string>' is deprecated [-Wdeprecated-declarations] return std::filesystem::u8path(utf8_str); ^ /usr/lib/llvm-14/bin/../include/c++/v1/__filesystem/u8path.h:72:27: note: 'u8path<std::string>' has been explicitly marked deprecated here _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T ^ /usr/lib/llvm-14/bin/../include/c++/v1/__config:1042:43: note: expanded from macro '_LIBCPP_DEPRECATED_WITH_CHAR8_T' ^ /usr/lib/llvm-14/bin/../include/c++/v1/__config:1007:48: note: expanded from macro '_LIBCPP_DEPRECATED' ^ 1 warning generated. ``` as u8path<std::string> is deprecated starting with c++20. Fixes: #24682. Co-authored-by: MacroFake <falke.marco@gmail.com> Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions