1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Fix clang on Windows warnings

- STDCALL is ignored for variable argument functions.
- __attribute__ does work for Clang (also if that pretends to be MSVC)
- remove unused function
- simplify ma_getopt, fixes some strange compile error in clang (about
SSE intrinsics)

- fix some clang warnings
This commit is contained in:
Vladislav Vaintroub
2018-02-08 22:38:58 +00:00
committed by Georg Richter
parent 058fc080b4
commit aed8005e2e
10 changed files with 25 additions and 31 deletions

View File

@@ -176,7 +176,7 @@ typedef struct st_mysql_client_plugin_REMOTEIO
@retval
a pointer to the loaded plugin, or NULL in case of a failure
*/
struct st_mysql_client_plugin * STDCALL
struct st_mysql_client_plugin *
mysql_load_plugin(struct st_mysql *mysql, const char *name, int type,
int argc, ...);