C/C++ server and network library, including coroutine,redis client,http/https/websocket,mqtt, mysql/postgresql/sqlite client with C/C++ for Linux, Android, iOS, MacOS, Windows, etc..
老师您好,想请问一下和mysql的冲突应该怎么解决呢
In file included from /usr/include/acl-lib/acl_cpp/lib_acl.hpp:118:0,
from 01_globals.h:10,
from 06_db.cpp:7:
/usr/include/acl-lib/acl_cpp/db/db_mysql.hpp:8:25: error: conflicting declaration ‘typedef struct st_mysql MYSQL’
typedef struct st_mysql MYSQL;
^
In file included from 06_db.cpp:4:0:
/usr/include/mysql/mysql.h:333:3: note: previous declaration as ‘typedef struct MYSQL MYSQL’
} MYSQL;
老师您好,想请问一下和mysql的冲突应该怎么解决呢 In file included from /usr/include/acl-lib/acl_cpp/lib_acl.hpp:118:0, from 01_globals.h:10, from 06_db.cpp:7: /usr/include/acl-lib/acl_cpp/db/db_mysql.hpp:8:25: error: conflicting declaration ‘typedef struct st_mysql MYSQL’ typedef struct st_mysql MYSQL; ^ In file included from 06_db.cpp:4:0: /usr/include/mysql/mysql.h:333:3: note: previous declaration as ‘typedef struct MYSQL MYSQL’ } MYSQL;