hightman / scws

开源免费的简易中文分词系统,PHP分词的上乘之选!
http://www.xunsearch.com/scws/
Other
1.66k stars 348 forks source link

请问支持mac 系统编译安装吗 #13

Closed 03128crz closed 9 years ago

03128crz commented 9 years ago

请问支持mac 系统编译安装吗

hightman commented 9 years ago

支持

Best Regards

hightman/海鳗


微信/微博:hightman Github:https://github.com/hightman

在 2015年7月31日,下午5:53,james notifications@github.com 写道:

请问支持mac 系统编译安装吗

— Reply to this email directly or view it on GitHub https://github.com/hightman/scws/issues/13.

03128crz commented 9 years ago

make 时出现以上warning 有影响吗? scws.c:1523:35: warning: passing 'unsigned char ' to parameter of type 'const char ' converts between pointers to integer types with different sign [-Wpointer-sign] top->word = (char )_mem_ndup(s->txt + cur->off, cur->len); ^~~~~ /usr/include/string.h:132:27: note: passing argument to parameter here char strndup(const char , size_t) OSX_AVAILABLE_STARTING(MAC_10_7, __IPHONE_4_3); ^ scws.c:1533:54: warning: passing 'unsigned char ' to parameter of type 'const char ' converts between pointers to integer types with different sign [-Wpointer-sign] xtree_nput(xt, top, sizeof(struct scws_topword), s->txt + cur->off, cur->len); ^~~~~ ./xtree.h:44:64: note: passing argument to parameter 'key' here void xtree_nput(xtree_t xt, void value, int vlen, const char *key, int len);

hightman commented 9 years ago

不影响

发自我的 iPhone6艹

在 2015年7月31日,下午6:10,james notifications@github.com 写道:

make 时出现以上warning 有影响吗? scws.c:1523:35: warning: passing 'unsigned char ' to parameter of type 'const char ' converts between pointers to integer types with different sign [-Wpointer-sign] top->word = (char )_mem_ndup(s->txt + cur->off, cur->len); ^~~~~ /usr/include/string.h:132:27: note: passing argument to parameter here char strndup(const char , size_t) OSX_AVAILABLE_STARTING(MAC_10_7, __IPHONE_4_3); ^ scws.c:1533:54: warning: passing 'unsigned char ' to parameter of type 'const char ' converts between pointers to integer types with different sign [-Wpointer-sign] xtree_nput(xt, top, sizeof(struct scws_topword), s->txt + cur->off, cur->len); ^~~~~ ./xtree.h:44:64: note: passing argument to parameter 'key' here void xtree_nput(xtree_t xt, void value, int vlen, const char *key, int len);

— Reply to this email directly or view it on GitHub.

03128crz commented 9 years ago

好的,谢谢解答 :)