使用mysql-connector-c++出有关问题了,帮忙看一下
使用mysql-connector-c++出问题了,帮忙看一下
官网下载的mysql-connector-c++-noinstall-1.1.3-win32;
运行官网的示例;
Qtcreator提示:
config.h的79行:typedef __int8 int8_t;
F:\testCpp\testCpp\cppconn\config.h:79: 错误:conflicting declaration 'typedef char int8_t'
------解决方案--------------------
------解决方案--------------------
你看看你的代码,是不是上面的几种有重复定义的,查查
官网下载的mysql-connector-c++-noinstall-1.1.3-win32;
运行官网的示例;
Qtcreator提示:
config.h的79行:typedef __int8 int8_t;
F:\testCpp\testCpp\cppconn\config.h:79: 错误:conflicting declaration 'typedef char int8_t'
qtcreator
typedef
------解决方案--------------------
conflicting declaration 'typedef char int8_t'
//定义冲突了!是是inty8_t 是已经使用过了?
typedef char INT8_T // 这样试试
------解决方案--------------------
config.h的79行:typedef __int8 int8_t;
F:\testCpp\testCpp\cppconn\config.h:79: 错误:conflicting declaration 'typedef char int8_t'
你看看你的代码,是不是上面的几种有重复定义的,查查