[ 21%] Building CXX object CMakeFiles/wsnet.dir/src/api/baserequest.cpp.o
/opt/local/bin/g++-mp-14 -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DFMT_SHARED -DIS_APPLE -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -Dwsnet_EXPORTS -I/opt/local/var/macports/build/wsnet-d1e41c5e/work/build -I/opt/local/var/macports/build/wsnet-d1e41c5e/work/wsnet-1.4.9/include/wsnet -I/opt/local/var/macports/build/wsnet-d1e41c5e/work/wsnet-1.4.9/src -I/opt/local/var/macports/build/wsnet-d1e41c5e/work/wsnet-1.4.9/advobfuscator -I/opt/local/var/macports/build/wsnet-d1e41c5e/work/wsnet-1.4.9/include -I/opt/local/var/macports/build/wsnet-d1e41c5e/work/wsnet-1.4.9/src/public -I/opt/local/var/macports/build/wsnet-d1e41c5e/work/wsnet-1.4.9/src/failover -I/opt/local/var/macports/build/wsnet-d1e41c5e/work/build/_cmrc/include -isystem /opt/local/include -isystem /opt/local/libexec/openssl3/include -isystem /opt/local/include/libfmt11 -isystem /opt/local/libexec/boost/1.88/include -pipe -I/opt/local/libexec/openssl3/include -I/opt/local/libexec/boost/1.88/include -Os -DNDEBUG -I/opt/local/libexec/openssl3/include -I/opt/local/libexec/boost/1.88/include -isystem/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++23 -arch ppc -mmacosx-version-min=10.6 -fPIC -MD -MT CMakeFiles/wsnet.dir/src/api/baserequest.cpp.o -MF CMakeFiles/wsnet.dir/src/api/baserequest.cpp.o.d -o CMakeFiles/wsnet.dir/src/api/baserequest.cpp.o -c /opt/local/var/macports/build/wsnet-d1e41c5e/work/wsnet-1.4.9/src/api/baserequest.cpp
In file included from /opt/local/include/skyr/core/host.hpp:17,
from /opt/local/include/skyr/core/url_parser_context.hpp:19,
from /opt/local/include/skyr/core/parse.hpp:15,
from /opt/local/include/skyr/url.hpp:17,
from /opt/local/var/macports/build/wsnet-d1e41c5e/work/wsnet-1.4.9/src/api/baserequest.cpp:3:
/opt/local/include/skyr/domain/domain.hpp: In lambda function:
/opt/local/include/skyr/domain/domain.hpp:128:28: error: no matching function for call to 'std::basic_string<char32_t>::erase(__gnu_cxx::__normal_iterator<const char32_t*, std::basic_string<char32_t> >&, std::basic_string<char32_t>::const_iterator)'
128 | ctx.domain_name.erase(result.value(), std::cend(ctx.domain_name));
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/local/include/gcc14/c++/bits/basic_string.h:57,
from /opt/local/include/gcc14/c++/string:54,
from /opt/local/var/macports/build/wsnet-d1e41c5e/work/wsnet-1.4.9/include/wsnet/WSNetHttpRequest.h:4,
from /opt/local/var/macports/build/wsnet-d1e41c5e/work/wsnet-1.4.9/src/api/baserequest.h:4,
from /opt/local/var/macports/build/wsnet-d1e41c5e/work/wsnet-1.4.9/src/api/baserequest.cpp:1:
/opt/local/include/gcc14/c++/bits/cow_string.h:1752:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::erase(size_type, size_type) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; size_type = long unsigned int]'
1752 | erase(size_type __pos = 0, size_type __n = npos)
| ^~~~~
/opt/local/include/gcc14/c++/bits/cow_string.h:1752:23: note: no known conversion for argument 1 from '__gnu_cxx::__normal_iterator<const char32_t*, std::basic_string<char32_t> >' to 'std::basic_string<char32_t>::size_type' {aka 'long unsigned int'}
1752 | erase(size_type __pos = 0, size_type __n = npos)
| ~~~~~~~~~~^~~~~~~~~
/opt/local/include/gcc14/c++/bits/cow_string.h:1768:7: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::iterator std::basic_string<_CharT, _Traits, _Alloc>::erase(iterator) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; iterator = std::basic_string<char32_t>::iterator]'
1768 | erase(iterator __position)
| ^~~~~
/opt/local/include/gcc14/c++/bits/cow_string.h:1768:7: note: candidate expects 1 argument, 2 provided
/opt/local/include/gcc14/c++/bits/cow_string.h:3406:6: note: candidate: 'std::basic_string<_CharT, _Traits, _Alloc>::iterator std::basic_string<_CharT, _Traits, _Alloc>::erase(iterator, iterator) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; iterator = std::basic_string<char32_t>::iterator]'
3406 | basic_string<_CharT, _Traits, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/gcc14/c++/bits/cow_string.h:3407:21: note: no known conversion for argument 1 from '__normal_iterator<const char32_t*,[...]>' to '__normal_iterator<char32_t*,[...]>'
3407 | erase(iterator __first, iterator __last)
| ~~~~~~~~~^~~~~~~
make[2]: *** [CMakeFiles/wsnet.dir/src/api/baserequest.cpp.o] Error 1