-
May 29th, 2024, 01:11 PM
#1
using intel compiler icpc :: glibc and boost library
Hello Friends,
I am building a source code of circular buffer in Rocky9 Linux.
OS Version :Rocky 9.3
I am using icpc version :
icpc version 14.0.3 (gcc version 4.8.1 compatibility)
I used boost version 1.75.0 and glibc version 2.34.100. Both are the native package for Rocky9.
I am receiving below listed error :
1)
static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}), ^
/usr/include/c++/11/type_traits(1215): internal error: bad pointer
decltype(__helper<const _Tp&>({}))* = 0);
2)
/usr/include/c++/11/type_traits(1204): error: no instance of overloaded function "std::__is_complete_or_unbounded" matches the argument list
In file included from /usr/include/c++/11/bits/move.h(57),
3)
/usr/include/c++/11/type_traits(1087): error: identifier "__is_assignable" is undefined
: public __bool_constant<__is_assignable(_Tp, _Up)>
4)
/usr/include/c++/11/type_traits(1080): error: no instance of overloaded function "std::__is_complete_or_unbounded" matches the argument list
5)
/usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h(2652): error: function call is not allowed in a constant expression
#if __has_builtin(__builtin_is_constant_evaluated)
I believe I missed some specific macro definition in make file hence the issue is raised. Kindly help me to fix this issue.
Best,
Dave
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|