【已解决】我在Mac电脑(M2 MAX)编译 2.1.7-rc03版本,遇到编译错误reference to 'detail' is ambiguous,应该如何解决

Viewed 47

apache-doris-2.1.7-rc03-src/be/src/vec/functions/url/find_symbols.h:364:12: error: reference to 'detail' is ambiguous

image.png

错误提示:

/Users/yan.yang/servers/apache-doris-2.1.7-rc03-src/be/src/vec/functions/url/find_symbols.h:364:12: error: reference to 'detail' is ambiguous
return detail::find_first_symbols_dispatch<true, detail::ReturnMode::End, symbols...>(begin,
^
/Users/yan.yang/servers/apache-doris-2.1.7-rc03-src/be/src/vec/functions/url/find_symbols.h:81:11: note: candidate found by name lookup is 'detail'
namespace detail {
^
/Users/yan.yang/servers/apache-doris-2.1.7-rc03-src/thirdparty/installed/include/boost/multiprecision/cpp_int/limits.hpp:15:11: note: candidate found by name lookup is 'std::detail'
namespace detail {
^
2 Answers

我看了下上面的 PR 已经合入到了 2.1 的分支,所以我直接拉取2.1的分支进行了编译,今天很顺利的就成功了。