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

error: non-const lvalue reference to type 'digest_type' (aka 'unsigned char[20]') cannot bind to a value of unrelated type 'unsigned int[5]' #6216

Open
yurivict opened this issue Jan 14, 2025 · 2 comments
Labels
kind: bug Type of issue

Comments

@yurivict
Copy link

Build fails:

/usr/ports/graphics/pcl-pointclouds/work/pcl/visualization/src/pcl_visualizer.cpp:4595:24: error: non-const lvalue reference to type 'digest_type' (aka 'unsigned char[20]') cannot bind to a value of unrelated type 'unsigned int[5]'
 4595 |       sha1.get_digest (digest);
      |                        ^~~~~~
/usr/local/include/boost/uuid/detail/sha1.hpp:179:43: note: passing argument to parameter 'digest' here
  179 | inline void sha1::get_digest(digest_type& digest)
      |                                           ^
1 error generated.

Your Environment (please complete the following information):

  • OS: FreeBSD 14.2
  • Compiler: clang-18
  • PCL Version 1.14.1
@yurivict yurivict added kind: bug Type of issue status: triage Labels incomplete labels Jan 14, 2025
@larshg
Copy link
Contributor

larshg commented Jan 15, 2025

Seems similiar to #6157 - and should already be fixed in master branch.

@larshg larshg removed the status: triage Labels incomplete label Jan 15, 2025
@yurivict
Copy link
Author

Yes, this is fixed in the master branch.
But the latest release remains broken with the latest boost version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Type of issue
Projects
None yet
Development

No branches or pull requests

2 participants