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

src/btllib/bloom_filter.cpp:250:10: error: call to constructor of 'NtHash' is ambiguous #117

Open
yurivict opened this issue Jan 12, 2024 · 0 comments

Comments

@yurivict
Copy link

Build fails on non-64-bit systems:

/wrkdirs/usr/ports/biology/btllib/work/btllib-1.7.0/src/btllib/bloom_filter.cpp:250:10: error: call to constructor of 'NtHash' is ambiguous
  250 |   NtHash nthash(seq, seq_len, get_hash_num(), get_k());
      |          ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/btllib/nthash_kmer.hpp:248:3: note: candidate constructor
  248 |   NtHash(const char* seq,
      |   ^
../include/btllib/nthash_kmer.hpp:278:3: note: candidate constructor
  278 |   NtHash(const std::string& seq,
      |   ^
/wrkdirs/usr/ports/biology/btllib/work/btllib-1.7.0/src/btllib/bloom_filter.cpp:260:10: error: call to constructor of 'NtHash' is ambiguous
  260 |   NtHash nthash(seq, seq_len, get_hash_num(), get_k());
      |          ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/btllib/nthash_kmer.hpp:248:3: note: candidate constructor
  248 |   NtHash(const char* seq,
      |   ^
../include/btllib/nthash_kmer.hpp:278:3: note: candidate constructor
  278 |   NtHash(const std::string& seq,
      |   ^
/wrkdirs/usr/ports/biology/btllib/work/btllib-1.7.0/src/btllib/bloom_filter.cpp:273:10: error: call to constructor of 'NtHash' is ambiguous
  273 |   NtHash nthash(seq, seq_len, get_hash_num(), get_k());
      |          ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/btllib/nthash_kmer.hpp:248:3: note: candidate constructor
  248 |   NtHash(const char* seq,
      |   ^
../include/btllib/nthash_kmer.hpp:278:3: note: candidate constructor
  278 |   NtHash(const std::string& seq,
      |   ^
3 errors generated.

Version: 1.7.0
clang-16
FreeBSD 14.0

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