Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error occurred while compiling tiflash using clang15 #7258

Closed
JinheLin opened this issue Apr 10, 2023 · 0 comments · Fixed by #7174
Closed

Compilation error occurred while compiling tiflash using clang15 #7258

JinheLin opened this issue Apr 10, 2023 · 0 comments · Fixed by #7174
Labels
severity/moderate type/bug The issue is confirmed as a bug.

Comments

@JinheLin
Copy link
Contributor

In file included from /DATA/disk1/jinhelin/tiflash-1/dbms/src/Storages/S3/PocoHTTPClient.cpp:38:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/algorithm/string.hpp:23:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/algorithm/string/split.hpp:16:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/algorithm/string/iter_find.hpp:27:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/algorithm/string/find_iterator.hpp:24:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/function.hpp:30:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/function/detail/prologue.hpp:17:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/function/function_base.hpp:22:
/DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/type_traits/has_trivial_copy.hpp:34:4: error: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Werror,-Wdeprecated-builtins]
   BOOST_HAS_TRIVIAL_COPY(T) BOOST_TT_TRIVIAL_CONSTRUCT_FIX
   ^
/DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/type_traits/intrinsics.hpp:190:41: note: expanded from macro 'BOOST_HAS_TRIVIAL_COPY'
#     define BOOST_HAS_TRIVIAL_COPY(T) (__has_trivial_copy(T) && !is_reference<T>::value)
                                        ^
In file included from /DATA/disk1/jinhelin/tiflash-1/dbms/src/Storages/S3/PocoHTTPClient.cpp:38:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/algorithm/string.hpp:23:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/algorithm/string/split.hpp:16:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/algorithm/string/iter_find.hpp:27:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/algorithm/string/find_iterator.hpp:24:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/function.hpp:30:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/function/detail/prologue.hpp:17:
In file included from /DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/function/function_base.hpp:23:
/DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/type_traits/has_trivial_destructor.hpp:30:86: error: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Werror,-Wdeprecated-builtins]
template <typename T> struct has_trivial_destructor : public integral_constant<bool, BOOST_HAS_TRIVIAL_DESTRUCTOR(T)>{};
                                                                                     ^
/DATA/disk1/jinhelin/tiflash-1/contrib/boost/boost/type_traits/intrinsics.hpp:196:47: note: expanded from macro 'BOOST_HAS_TRIVIAL_DESTRUCTOR'
#     define BOOST_HAS_TRIVIAL_DESTRUCTOR(T) (__has_trivial_destructor(T)  && is_destructible<T>::value)
                                              ^
2 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
1 participant