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

Fails to build against boost 1.86 #7

Closed
shssoichiro opened this issue Sep 3, 2024 · 1 comment
Closed

Fails to build against boost 1.86 #7

shssoichiro opened this issue Sep 3, 2024 · 1 comment

Comments

@shssoichiro
Copy link

shssoichiro commented Sep 3, 2024

Arch recently upgraded their boost library from 1.83 to 1.86. With this came the discovery that both this package and nnedi3cl fail to build against boost 1.86, giving the following error (same error for both packages):

/usr/include/boost/compute/detail/sha1.hpp: In member function ‘boost::compute::detail::sha1::operator std::string()’:
/usr/include/boost/compute/detail/sha1.hpp:41:26: error: cannot convert ‘unsigned int [5]’ to ‘unsigned char (&)[20]’
   41 |             h.get_digest(digest);
      |                          ^~~~~~
      |                          |
      |                          unsigned int [5]
In file included from /usr/include/boost/compute/detail/sha1.hpp:18:
/usr/include/boost/uuid/detail/sha1.hpp:179:43: note:   initializing argument 1 of ‘void boost::uuids::detail::sha1::get_digest(unsigned char (&)[20])’
  179 | inline void sha1::get_digest(digest_type& digest)
      |                              ~~~~~~~~~~~~~^~~~~~

Related to HomeOfVapourSynthEvolution/VapourSynth-NNEDI3CL#2

@shssoichiro
Copy link
Author

It seems this is actually an upstream issue in boost:compute. boostorg/compute#889

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