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 is broken with clang-19: no viable overloaded '=' #58

Open
yurivict opened this issue Nov 3, 2024 · 1 comment
Open

Build is broken with clang-19: no viable overloaded '=' #58

yurivict opened this issue Nov 3, 2024 · 1 comment

Comments

@yurivict
Copy link

yurivict commented Nov 3, 2024

In file included from /wrkdirs/usr/ports/math/openfst/work/openfst-8058417/src/lib/fst.cc:6:
/wrkdirs/usr/ports/math/openfst/work/openfst-8058417/src/./include/fst/fst.h:655:15: error: no viable overloaded '='
  655 |     isymbols_ = impl.isymbols_ ? impl.isymbols_->Copy() : nullptr;
      |     ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__memory/unique_ptr.h:231:67: note: candidate function not viable: no known conversion from 'SymbolTable *' to 'unique_ptr<SymbolTable>' for 1st argument
  231 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=(unique_ptr&& __u) _NOEXCEPT {
      |                                                                   ^         ~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__memory/unique_ptr.h:241:67: note: candidate template ignored: could not match 'unique_ptr<_Up, _Ep>' against 'SymbolTable *'
  241 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT {
      |                                                                   ^
/usr/include/c++/v1/__memory/unique_ptr.h:250:37: note: candidate template ignored: could not match 'auto_ptr<_Up>' against 'SymbolTable *'
  250 |   _LIBCPP_HIDE_FROM_ABI unique_ptr& operator=(auto_ptr<_Up> __p) {
      |                                     ^

FreeBSD 14.1

@jtrmal
Copy link
Collaborator

jtrmal commented Nov 4, 2024 via email

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