yanyiwu / cppjieba

"结巴"中文分词的C++版本
MIT License
2.57k stars 690 forks source link

修正c++版本判断兼容性问题 #126

Closed maliubiao closed 5 years ago

maliubiao commented 5 years ago

c++11以上,这个分支会跳到错误的地方,错误的使用using std::tr1::unordered_map ,导致undefined symbol.

yanyiwu commented 5 years ago

感谢,不过 appveyor build failed,能顺便解决下的么?https://ci.appveyor.com/project/yanyiwu/cppjieba/builds/22767678

maliubiao commented 5 years ago

看起来是你的代码不兼容visual c++, 这个编译器我不熟悉。

yanyiwu commented 5 years ago

visual c++ 我也不熟悉,先merge吧,感谢。