|
|
|
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:08 |
|
||
|
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 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.04.2016, 10:20 |
|
||
|
|

start [/forum/topic.php?fid=47&fpage=105&tid=1831922]: |
0ms |
get settings: |
6ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
45ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
23ms |
get tp. blocked users: |
1ms |
| others: | 204ms |
| total: | 311ms |

| 0 / 0 |
