
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
12.04.2016, 10:08
|
|||
|---|---|---|---|
|
|||
VS2015 + Connector/C = 'timespec': 'struct' type redefinition |
|||
|
#18+
Добрый день. подскажите как решить проблему ? >c:\program files (x86)\mysql\mysql connector c 6.1\include\my_global.h(660): error C2011: 'timespec': 'struct' type redefinition код : #include "stdafx.h" #include <my_global.h> #include <mysql.h> int main() { return 0; } ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
12.04.2016, 10:20
|
|||
|---|---|---|---|
|
|||
VS2015 + Connector/C = 'timespec': 'struct' type redefinition |
|||
|
#18+
попробовал отключать нативную структуру через #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 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=47&tablet=1&tid=1831922]: |
0ms |
get settings: |
8ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
195ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
32ms |
get tp. blocked users: |
1ms |
| others: | 255ms |
| total: | 526ms |

| 0 / 0 |
