You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/Unicode.hpp:9,
from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/DictTrie.hpp:15,
from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/QuerySegment.hpp:8,
from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/Jieba.hpp:4,
from jieba.cpp:5:
vendor/github.com/yanyiwu/gojieba/deps/limonp/LocalVector.hpp: In instantiation of ‘void limonp::LocalVector::reserve(size_t) [with T = std::pair<long unsigned int, const cppjieba::DictUnit*>; size_t = long unsigned int]’:
vendor/github.com/yanyiwu/gojieba/deps/limonp/LocalVector.hpp:83:7: required from ‘void limonp::LocalVector::push_back(const T&) [with T = std::pair<long unsigned int, const cppjieba::DictUnit*>]’
vendor/github.com/yanyiwu/gojieba/deps/cppjieba/Trie.hpp:99:81: required from here
vendor/github.com/yanyiwu/gojieba/deps/limonp/LocalVector.hpp:95:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<long unsigned int, const cppjieba::DictUnit*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(ptr_, old, sizeof(T) * capacity_);
The text was updated successfully, but these errors were encountered:
麻烦大佬帮忙看下哈。或者直接帮忙打个包release出来。谢谢啦
github.com/yanyiwu/gojieba
In file included from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/Unicode.hpp:9,
from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/DictTrie.hpp:15,
from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/QuerySegment.hpp:8,
from vendor/github.com/yanyiwu/gojieba/deps/cppjieba/Jieba.hpp:4,
from jieba.cpp:5:
vendor/github.com/yanyiwu/gojieba/deps/limonp/LocalVector.hpp: In instantiation of ‘void limonp::LocalVector::reserve(size_t) [with T = std::pair<long unsigned int, const cppjieba::DictUnit*>; size_t = long unsigned int]’:
vendor/github.com/yanyiwu/gojieba/deps/limonp/LocalVector.hpp:83:7: required from ‘void limonp::LocalVector::push_back(const T&) [with T = std::pair<long unsigned int, const cppjieba::DictUnit*>]’
vendor/github.com/yanyiwu/gojieba/deps/cppjieba/Trie.hpp:99:81: required from here
vendor/github.com/yanyiwu/gojieba/deps/limonp/LocalVector.hpp:95:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<long unsigned int, const cppjieba::DictUnit*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(ptr_, old, sizeof(T) * capacity_);
The text was updated successfully, but these errors were encountered: