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
6208
December 31, 2015 08:34AM
2545
February 20, 2016 08:26AM
2525
February 26, 2016 06:15AM
2009
February 26, 2016 07:50AM
5239
March 07, 2016 10:27AM
2180
May 02, 2016 08:06AM
2658
May 21, 2016 08:02PM
2215
May 26, 2016 10:54AM
1827
May 26, 2016 03:16PM
1722
May 26, 2016 05:32PM
2391
June 01, 2016 08:45AM
1737
June 03, 2016 12:18PM
Re: Compiling connector/C++ with Visual Studio 2015
2052
June 08, 2016 04:02AM
2638
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.