Quantcast
Channel: 보통프로그래머
Viewing all articles
Browse latest Browse all 118

Visual Studio 2015에서 MySQL my_global.h error C2011: 'timespec': 'struct' type redefinition

$
0
0
Dev. Enviroment : MySQL 5.7.17, Visual Studio 2015 Community발생 원인은, struct timespec 구조체를 동일하게 선언하고 있기 때문.-------------------------------------------------------------------- my_global.h-...#ifndef HAVE_STRUCT_TIMESPEC /* Windows before VS2015 */...-------------------------------------------------------------------- my_global.hmysql server 5.7\include\my_global.h(687)windows kits\10\include\10.0.10240.0\ucrt\time.h(39): 아래와 같이 빨간색 정의를 추가해주자.stdafx.h 에 해주는게 더 올바른 방법임.(이게 제일 단순한 방법 같음)-----------------------------------------------------.......

Viewing all articles
Browse latest Browse all 118

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>