Changes between Initial Version and Version 1 of Ticket #69805


Ignore:
Timestamp:
Apr 23, 2024, 9:01:55 AM (4 weeks ago)
Author:
aeiouaeiouaeiouaeiouaeiouaeiou
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #69805 – Description

    initial v1  
    11[changeset:c1c4b4cbb91b9c83969f52e2a5ad424e4716cd80/macports-ports Bitcoin 27.0] now uses the {{{std::bit_width}}} function, which was only properly [https://github.com/llvm/llvm-project/commit/1a036e9cc82a7f6d6f4675d631fa5eecd8748784 implemented in LLVM 12].
     2
     3https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/228575/steps/install-port/logs/stdio
     4
     5{{{
     6In file included from addrman.cpp:10:
     7In file included from ./addrman.h:9:
     8In file included from ./netaddress.h:11:
     9./random.h:207:25: error: no member named 'bit_width' in namespace 'std'
     10        int bits = std::bit_width(range);
     11                   ~~~~~^
     12}}}
     13
     14Also more:
     15
     16{{{
     17In file included from addrdb.cpp:10:
     18In file included from ./addrdb.h:10:
     19./util/fs.h:65:30: error: no matching constructor for initialization of 'const std::u8string &' (aka 'const basic_string<char8_t> &')
     20        const std::u8string& utf8_str{std::filesystem::path::u8string()};
     21                             ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     22/opt/local/include/libcxx/v1/string:791:40: note: candidate constructor not viable: no known conversion from 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char>>') to 'const allocator_type' (aka 'const std::allocator<char8_t>') for 1st argument
     23    _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
     24                                       ^
     25}}}