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

Compiler error with -std=c++17 on gcc #140

Open
abique opened this issue Oct 9, 2019 · 2 comments
Open

Compiler error with -std=c++17 on gcc #140

abique opened this issue Oct 9, 2019 · 2 comments

Comments

@abique
Copy link
Contributor

abique commented Oct 9, 2019

../../third-party/libsimdpp/simdpp/types/empty_expr.h: In instantiation of ‘simdpp::arch_sse3::mask_int32<N, simdpp::arch_sse3::expr_empty>::operator simdpp::arch_sse3::uint32<N>() const [with unsigned int N = 4]’:
../../third-party/libsimdpp/simdpp/detail/insn/cmp_neq.h:195:52:   required from here
../../third-party/libsimdpp/simdpp/types/empty_expr.h:220:52: error: could not convert ‘((const simdpp::arch_sse3::mask_int32<4, simdpp::arch_sse3::expr_empty>*)this)->simdpp::arch_sse3::mask_int32<4, simdpp::arch_sse3::expr_empty>::e’ from ‘const simdpp::arch_sse3::mask_int32<4>’ to ‘simdpp::arch_sse3::uint32<4>’
  220 |     SIMDPP_INL operator uint32<N>() const { return e; }
      |                                                    ^
      |                                                    |
      |                                                    const simdpp::arch_sse3::mask_int32<4>

@peabody-korg
Copy link
Contributor

is this related to #137?

@martin-g
Copy link
Contributor

martin-g commented Sep 30, 2022

This is fixed with #118 but only in dev branch ...

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

3 participants