-
在column_predicate.h上加了个虚方法,编译失败,但是没有显示具体原因。请问如何显示具体是编译问题?
./build.sh --be报错如下: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
/root/doris-0.14.0/be/src/gutil/hash/hash.h:299:8: note: previous definition of ‘struct __gnu_cxx::hash<std::pair<_T1, _T2> >’ |
Beta Was this translation helpful? Give feedback.
/root/doris-0.14.0/be/src/gutil/hash/hash.h:299:8: note: previous definition of ‘struct __gnu_cxx::hash<std::pair<_T1, _T2> >’
299 | struct hash<pair<First, Second>> {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/doris_thirdparty/installed/include/butil/intrusive_ptr.hpp:29,
from /usr/local/doris_thirdparty/installed/include/brpc/channel.h:29,
from /root/doris-0.14.0/be/src/service/brpc.h:48,
from /root/doris-0.14.0/be/src/util/brpc_stub_cache.h:25,
from /root/doris-0.14.0/be/src/runtime/exec_env_init.cpp:56:
/usr/local/doris_thirdparty/installed/include/butil/containers/hash_tables.h:262:8: error: redefinition of ‘struct __gnu_cxx::hash<T*>’
262 | struct hash<Type*> {
| ^…