gojieba icon indicating copy to clipboard operation
gojieba copied to clipboard

Can not run test on Mac M1 computer

Open ajunxu opened this issue 5 months 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