Re: Compiling connector/C++ with Visual Studio 2015
Hi,
Looks like VS2015 implemented the snprintf() function.
To fix the build, change the file:
driver/nativeapi/mysql_private_iface.h
substituting on line 47:
-#if ( defined(_WIN32) || defined(_WIN64) ) && !defined(snprintf)
+#if ( defined(_WIN32) || defined(_WIN64) ) && !defined(snprintf) && (_MSC_VER < 1900)
This way build should work.
Luís
Subject
Views
Written By
Posted
6264
December 31, 2015 08:34AM
2559
February 20, 2016 08:26AM
2545
February 26, 2016 06:15AM
2033
February 26, 2016 07:50AM
5272
March 07, 2016 10:27AM
2198
May 02, 2016 08:06AM
2680
May 21, 2016 08:02PM
2234
May 26, 2016 10:54AM
1844
May 26, 2016 03:16PM
1742
May 26, 2016 05:32PM
2416
June 01, 2016 08:45AM
1752
June 03, 2016 12:18PM
Re: Compiling connector/C++ with Visual Studio 2015
2070
June 08, 2016 04:02AM
2662
June 10, 2016 07:15AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.