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
6670
December 31, 2015 08:34AM
2670
February 20, 2016 08:26AM
2746
February 26, 2016 06:15AM
2173
February 26, 2016 07:50AM
5540
March 07, 2016 10:27AM
2351
May 02, 2016 08:06AM
2856
May 21, 2016 08:02PM
2431
May 26, 2016 10:54AM
1989
May 26, 2016 03:16PM
1867
May 26, 2016 05:32PM
2598
June 01, 2016 08:45AM
1925
June 03, 2016 12:18PM
Re: Compiling connector/C++ with Visual Studio 2015
2191
June 08, 2016 04:02AM
2809
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.