hightman / xunsearch

免费开源的中文搜索引擎,采用 C/C++ 编写 (基于 xapian 和 scws),提供 PHP 的开发接口和丰富文档
http://www.xunsearch.com
Other
1.65k stars 391 forks source link

mac安装报错 #120

Open xhun2015 opened 3 years ago

xhun2015 commented 3 years ago

uuid_time2.c:75:3: error: implicitly declaring library function 'exit' with type 'void (int) attribute((noreturn))' [-Werror,-Wimplicit-function-declaration] exit(1); ^ uuid_time2.c:75:3: note: include the header or explicitly provide a declaration for 'exit' uuid_time2.c:112:54: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat] printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, tv.tv_usec,


                                    %d
1 warning and 1 error generated.
make: *** [uuid_time2.o] Error 1