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

Build fails with clang-19: no member named 'm_select1' in 'louds_tree<bit_vec_t, select_1_t, select_0_t>'; did you mean 'm_bv_select1'? #462

Open
yurivict opened this issue Nov 3, 2024 · 0 comments

Comments

@yurivict
Copy link

yurivict commented Nov 3, 2024

In file included from /wrkdirs/usr/ports/devel/sdsl-lite/work/sdsl-lite-2.1.1-137-gc32874c/lib/louds_tree.cpp:1:
/wrkdirs/usr/ports/devel/sdsl-lite/work/.build/lib/../include/sdsl/louds_tree.hpp:182:51: error: no member named 'm_select1' in 'louds_tree<bit_vec_t, select_1_t, select_0_t>'; did you mean 'm_bv_select1'?
  182 |             util::swap_support(m_bv_select1, tree.m_select1, &m_bv, &(tree.m_bv));
      |                                                   ^~~~~~~~~
      |                                                   m_bv_select1
/wrkdirs/usr/ports/devel/sdsl-lite/work/.build/lib/../include/sdsl/louds_tree.hpp:68:25: note: 'm_bv_select1' declared here
   68 |         select_1_type   m_bv_select1; // select support for 1-bits on m_bv
      |                         ^
/wrkdirs/usr/ports/devel/sdsl-lite/work/.build/lib/../include/sdsl/louds_tree.hpp:183:51: error: no member named 'm_select0' in 'louds_tree<bit_vec_t, select_1_t, select_0_t>'; did you mean 'm_bv_select0'?
  183 |             util::swap_support(m_bv_select0, tree.m_select0, &m_bv, &(tree.m_bv));
      |                                                   ^~~~~~~~~
      |                                                   m_bv_select0

clang-19
FreeBSD 14.1

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

1 participant