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

compile error #21

Open
biexiangduo opened this issue Jul 18, 2020 · 1 comment
Open

compile error #21

biexiangduo opened this issue Jul 18, 2020 · 1 comment

Comments

@biexiangduo
Copy link

biexiangduo commented Jul 18, 2020

hello ,when i try gcc-6 or 5 or 4.8 4.7 there always error
can you tell me your gcc g++ version? thank you

gcc-5 error:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9220): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9231): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9244): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9255): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9268): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9279): error: argument of type "const void *" is incompatible with parameter of type "const float *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9292): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9303): error: argument of type "const void *" is incompatible with parameter of type "const double *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9316): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9327): error: argument of type "const void *" is incompatible with parameter of type "const int *"

/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h(9340): error: argument of type "const void *" is incompatible with parameter of type "const long long *"


gcc-4,9 error:

/usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:21: error: no member named 'integer_sequence' in namespace 'std'
struct SumImpl<std::integer_sequence<T, N, Ns...>> {
~~~~~^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:38: error: 'T' does not refer to a value
struct SumImpl<std::integer_sequence<T, N, Ns...>> {
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:63:20: note: declared here
template <typename T, T N, T... Ns>
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:70:21: error: no member named 'integer_sequence' in namespace 'std'
struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> {
~~~~~^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:70:38: error: 'T' does not refer to a value
struct SumImpl<std::integer_sequence<T, N1, N2, Ns...>> {
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:69:20: note: declared here
template <typename T, T N1, T N2, T... Ns>
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:77:21: error: no member named 'integer_sequence' in namespace 'std'
struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> {
~~~~~^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:77:38: error: 'T' does not refer to a value
struct SumImpl<std::integer_sequence<T, N1, N2, N3, N4, Ns...>> {
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:76:20: note: declared here
template <typename T, T N1, T N2, T N3, T N4, T... Ns>
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:84:21: error: no member named 'integer_sequence' in namespace 'std'
struct SumImpl<std::integer_sequence<T, N>> {
~~~~~^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:84:38: error: 'T' does not refer to a value
struct SumImpl<std::integer_sequence<T, N>> {
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:83:20: note: declared here
template <typename T, T N>
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:90:21: error: no member named 'integer_sequence' in namespace 'std'
struct SumImpl<std::integer_sequence> {
~~~~~^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:90:38: error: 'T' does not refer to a value
struct SumImpl<std::integer_sequence> {
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:89:20: note: declared here
template
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:132:39: error: no member named 'integer_sequence' in namespace 'std'
struct ExclusiveScanImpl<T, Sum, std::integer_sequence<T, N, Ns...>,
~~~~~^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:132:56: error: 'T' does not refer to a value
struct ExclusiveScanImpl<T, Sum, std::integer_sequence<T, N, Ns...>,
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:131:20: note: declared here
template <typename T, T Sum, T N, T... Ns, T... Rs>
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:133:31: error: cannot define or redeclare 'integer_sequence' here because namespace 'internal' does
not enclose namespace 'std'
std::integer_sequence<T, Rs...>> {
~~~~~^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:133:31: error: no member named 'integer_sequence' in namespace 'std'
std::integer_sequence<T, Rs...>> {
~~~~~^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:131:40: error: template parameter pack must be the last template parameter
template <typename T, T Sum, T N, T... Ns, T... Rs>
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:133:47: error: expected ';' at end of declaration
std::integer_sequence<T, Rs...>> {
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:133:47: error: expected unqualified-id
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:141:34: error: template argument for template type parameter must be a type
struct ExclusiveScanImpl<T, Sum, std::integer_sequence, SeqOut> {
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:128:39: note: template parameter is declared here
template <typename T, T Sum, typename SeqIn, typename SeqOut>
^
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:155:48: error: template argument for template type parameter must be a type
typename ExclusiveScanImpl<T, T(0), Seq, std::integer_sequence>::Type;

@AIBluefisher
Copy link
Owner

Sorry about the late reply. My gcc version is 5.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants