Hi guys,
I am porting a project from Visual Studio 2010 to Visual Studio 2015. However, I find that I need to recompile connector/c++ which I use. However, I get errors of the kind:
Severity Code Description Project File Line Suppression State
Error C2011 'timespec': 'struct' type redefinition mysqlcppconn c:\program files (x86)\mysql\mysql connector.c 6.1\include\my_global.h 660
I understand this has to do with that there are new things in VS2015 that conflict with MySQL code. I read that this should have been resolved in latest version, but I get the same issues. I would very much appreciate any input on this matter. In particular from MySQL staff, giving some updated hints on how to work with connector/c++ and Visual Studio 2015.
I am porting a project from Visual Studio 2010 to Visual Studio 2015. However, I find that I need to recompile connector/c++ which I use. However, I get errors of the kind:
Severity Code Description Project File Line Suppression State
Error C2011 'timespec': 'struct' type redefinition mysqlcppconn c:\program files (x86)\mysql\mysql connector.c 6.1\include\my_global.h 660
I understand this has to do with that there are new things in VS2015 that conflict with MySQL code. I read that this should have been resolved in latest version, but I get the same issues. I would very much appreciate any input on this matter. In particular from MySQL staff, giving some updated hints on how to work with connector/c++ and Visual Studio 2015.