You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +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:
committed by
Georg Richter
parent
058fc080b4
commit
aed8005e2e
@@ -45,10 +45,9 @@ Cambridge, MA 02139, USA. */
|
||||
#define const
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <ma_global.h> /* Changes for mysys */
|
||||
#include <ma_string.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
/* Comment out all this code if we are using the GNU C Library, and are not
|
||||
actually compiling the library itself. This code is part of the GNU C
|
||||
Library, but also included in many other GNU distributions. Compiling
|
||||
|
Reference in New Issue
Block a user