Snippets for libime 1.1.17 from FreeBSD 151amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/zh-libime/1.1.17/151amd64-default.log.
-
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/search_hashed.hh:149:39: warning: unused parameter 'count' [-Wunused-parameter] 149 | Unigram(void *start, uint64_t count) : | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/vocab.hh:234:40: warning: unused parameter 'word' [-Wunused-parameter] 234 | void operator()(const StringPiece &word) {} | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/search_hashed.cc:244:131: warning: unused parameter 'config' [-Wunused-parameter] 244 | template <> void HashedSearch<BackoffValue>::DispatchBuild(util::FilePiece &f, const std::vector<uint64_t> &counts, const Config &config, const ProbingVocabulary &vocab, PositiveProbWarn &warn) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/../util/sized_iterator.hh:90:17: warning: definition of implicit copy constructor for 'SizedProxy' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy] 90 | SizedProxy &operator=(const SizedProxy &from) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/../util/proxy_iterator.hh:56:8: warning: definition of implicit copy constructor for 'ProxyIterator<util::SizedProxy>' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy] 56 | S &operator=(const S &other) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/../util/proxy_iterator.hh:56:8: warning: definition of implicit copy constructor for 'ProxyIterator<lm::ngram::trie::(anonymous namespace)::PartialViewProxy>' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy] 56 | S &operator=(const S &other) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/trie_sort.cc:42:23: warning: definition of implicit copy constructor for 'PartialViewProxy' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy] 42 | PartialViewProxy &operator=(const PartialViewProxy &from) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/trie_sort.cc:124:31: warning: unused parameter 'entry_size' [-Wunused-parameter] 124 | void operator()(std::size_t entry_size, unsigned char order, const void *first, const void *second, FILE * /*out*/) const { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/trie_sort.cc:124:95: warning: unused parameter 'second' [-Wunused-parameter] 124 | void operator()(std::size_t entry_size, unsigned char order, const void *first, const void *second, FILE * /*out*/) const { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/../util/joint_sort.hh:60:19: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] 60 | typedef struct { | ^ | value_type -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/vocab.cc:88:61: warning: unused parameter 'allocated' [-Wunused-parameter] 88 | void SortedVocabulary::SetupMemory(void *start, std::size_t allocated, std::size_t entries, const Config &config) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/vocab.cc:88:84: warning: unused parameter 'entries' [-Wunused-parameter] 88 | void SortedVocabulary::SetupMemory(void *start, std::size_t allocated, std::size_t entries, const Config &config) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/vocab.cc:88:107: warning: unused parameter 'config' [-Wunused-parameter] 88 | void SortedVocabulary::SetupMemory(void *start, std::size_t allocated, std::size_t entries, const Config &config) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/../util/proxy_iterator.hh:56:8: warning: definition of implicit copy constructor for 'ProxyIterator<util::detail::JointProxy<unsigned long *, util::PairedIterator<lm::ProbBackoff *, StringPiece *>>>' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy] 56 | S &operator=(const S &other) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/../util/proxy_iterator.hh:56:8: warning: definition of implicit copy constructor for 'ProxyIterator<util::detail::JointProxy<lm::ProbBackoff *, StringPiece *>>' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy] 56 | S &operator=(const S &other) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/lm/../util/proxy_iterator.hh:56:8: warning: definition of implicit copy constructor for 'ProxyIterator<util::detail::JointProxy<unsigned long *, lm::ProbBackoff *>>' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy] 56 | S &operator=(const S &other) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/util/file.cc:136:20: warning: unused parameter 'fd' [-Wunused-parameter] 136 | void HolePunch(int fd, uint64_t offset, uint64_t size) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/util/file.cc:136:33: warning: unused parameter 'offset' [-Wunused-parameter] 136 | void HolePunch(int fd, uint64_t offset, uint64_t size) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/util/file.cc:136:50: warning: unused parameter 'size' [-Wunused-parameter] 136 | void HolePunch(int fd, uint64_t offset, uint64_t size) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/util/mmap.cc:105:68: warning: unused parameter 'prefault' [-Wunused-parameter] 105 | void *MapOrThrow(std::size_t size, bool for_write, int flags, bool prefault, int fd, uint64_t offset) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/util/mmap.cc:233:6: warning: unused function 'ReplaceAndCopy' [-Wunused-function] 233 | void ReplaceAndCopy(std::size_t to, bool zero_new, scoped_memory &mem) { | ^~~~~~~~~~~~~~ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/util/scoped.cc:37:34: warning: unused parameter 'addr' [-Wunused-parameter] 37 | void AdviseHugePages(const void *addr, std::size_t size) { | ^ -
/wrkdirs/usr/ports/chinese/libime/work/libime-1.1.17/src/libime/core/kenlm/util/scoped.cc:37:52: warning: unused parameter 'size' [-Wunused-parameter] 37 | void AdviseHugePages(const void *addr, std::size_t size) { | ^