gojieba icon indicating copy to clipboard operation
gojieba copied to clipboard

Can not run test on Mac M1 computer

Open ajunxu opened this issue 1 year ago • 3 comments

When running unit tests under the project, output the following information. I want to know how to solve it, thanks?

github.com/yanyiwu/gojieba [github.com/yanyiwu/gojieba.test] In file included from jieba.cpp:5: In file included from ./deps/cppjieba/include/cppjieba/Jieba.hpp:4: In file included from ./deps/cppjieba/include/cppjieba/QuerySegment.hpp:8: In file included from ./deps/cppjieba/include/cppjieba/DictTrie.hpp:13: ./deps/cppjieba/deps/limonp/include/limonp/StringUtil.hpp:89:57: error: expected expression ./deps/cppjieba/deps/limonp/include/limonp/StringUtil.hpp:96:46: error: expected expression ./deps/cppjieba/deps/limonp/include/limonp/StringUtil.hpp:108:7: error: expected expression ./deps/cppjieba/deps/limonp/include/limonp/StringUtil.hpp:114:9: error: expected expression

Compilation finished with exit code 1

ajunxu avatar Sep 05 '24 14:09 ajunxu

image

ajunxu avatar Sep 05 '24 14:09 ajunxu

https://github.com/yanyiwu/gojieba/commit/fb96128665b85bafe5127e43a04bc26eaa660031

yanyiwu avatar Sep 07 '24 04:09 yanyiwu

Fixed it at v1.4.3 already.

yanyiwu avatar Sep 07 '24 04:09 yanyiwu

This issue has not been updated for over 1 year and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.

github-actions[bot] avatar Oct 09 '25 01:10 github-actions[bot]