← Back to team overview

maria-developers team mailing list archive

Re: Building MariaDB 10.3 on windows



this looks like a bug in Connector/C that was recently fixed (exactly like you describe it).

Maybe it is not yet in 10.3. Perhaps it is a good idea to build 10.2 still, rather than 10.3 . I actually did not know we have the 10.3 branch, until your email.

On 04.11.2016 16:08, jerome brauge wrote:
I'm new on this mailing list, so sorry if it's not the right place.
I'm trying to build MariaDB  10.3 on Windows 10 with Visual Studio Express 2014.
Compiling failed with many errors "fatal error C1189: #error: Macro definition of snprintf conflicts with Standard Library function declaration".
To correct this, in ma_global.h,  i  replaced line
	#define snprintf _snprintf
	#ifdef _MSC_VER
	#if _MSC_VER< 1900
	#define snprintf _snprintf
	#define snprintf _snprintf
and build success.

Best regards.
Mailing list: https://launchpad.net/~maria-developers
Post to     : maria-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp