yanyiwu / gojieba

"结巴"中文分词的Golang版本
MIT License
2.39k stars 302 forks source link

1.3.0 版本在编译的时候有warning #113

Open zzz686970 opened 5 months ago

zzz686970 commented 5 months ago

github.com/yanyiwu/gojieba

In file included from jieba.cpp:5: In file included from ../../../pkg/mod/github.com/yanyiwu/gojieba@v1.3.0/deps/cppjieba/Jieba.hpp:4: In file included from ../../../pkg/mod/github.com/yanyiwu/gojieba@v1.3.0/deps/cppjieba/QuerySegment.hpp:8: ../../../pkg/mod/github.com/yanyiwu/gojieba@v1.3.0/deps/cppjieba/DictTrie.hpp:152:12: warning: variable 'lineno' set but not used [-Wunused-but-set-variable] ../../../pkg/mod/github.com/yanyiwu/gojieba@v1.3.0/deps/cppjieba/DictTrie.hpp:217:17: warning: variable 'lineno' set but not used [-Wunused-but-set-variable]

yinshengji-tal commented 4 months ago

我这也报,有解决方案吗

buqiuwenda commented 3 months ago

warning: variable 'lineno' set but not used [-Wunused-but-set-variable]

buqiuwenda commented 3 months ago

+1 , 有解决办法吗

thiinbit commented 2 months ago

+1

lihaoqiang001 commented 1 month ago

请问有解决办法吗?

yanyiwu commented 1 month ago

升级到最新版本v1.4.1 预期就没有了,还有的话可以单独起个issue看看