|
|
|
| подскажите как решить данную проблему?
>c:\program files (x86)\mysql\mysql connector c 6.1\include\my_global.h(660): error C2011: 'timespec': 'struct' type redefinition
(проект c++ для х86):
#include "stdafx.h"
#include <my_global.h>
#include <mysql.h>
int main()
{
return 0;
}
|
попробовал отключать нативную структуру через
#define _CRT_NO_TIME_T
но в этом случае появились две ошибки отсутствия функций
1>c:\program files (x86)\mysql\mysql connector c 6.1\include\my_global.h(639): error C3861: 'localtime_s': identifier not found
1>c:\program files (x86)\mysql\mysql connector c 6.1\include\my_global.h(645): error C3861: 'gmtime_s': identifier not found
кто знает как пофиксить?
PS.
mysql и коннекторы скачал и установил с нуля последние версии.
В гуглах этот баг встречается, но решения не нашел. | |
|
|