Skip to content

如何显示详细的编译错误 #11090

Answered by hqx871
hqx871 asked this question in Q&A
Jul 21, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

/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*> {
| ^…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dataalive
Comment options

@hqx871
Comment options

Answer selected by hqx871
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants