cyanray/mirai-cpp-template

冲突

imag-er opened this issue · 1 comments

easywslient.cppf里有一行typedef __int8 int8_t;
与里定义的uint8_t冲突,
报错信息:
conflicting declaration 'typedef char int8_t'GCC
stdint.h(35, 21): previous declaration as 'typedef signed char int8_t'
若注释掉该行则出现五十多条undefined reference

这个旧的ws库在新版本里已经移除了。

这类issues以后发到mirai-cpp的仓库中比较好,发在这里我容易漏看。