VS 컴파일 에러..
안녕하세요. QTWebkit 소스로 Wince에 Webpage 하나 띄어 볼려고 하는데요..
컴파일 과정에서 아래와 같이 error가 발생하네요.
e:\VS\VC\PlatformSDK\include\winbase.h(1576) : error C2733: second C linkage of
overloaded function 'InterlockedIncrement' not allowed
e:\VS\VC\PlatformSDK\include\winbase.h(1574) : see declaration of 'Inter
lockedIncrement'
e:\VS\VC\PlatformSDK\include\winbase.h(1583) : error C2733: second C linkage of
overloaded function 'InterlockedDecrement' not allowed
e:\VS\VC\PlatformSDK\include\winbase.h(1581) : see declaration of 'Inter
lockedDecrement'
e:\VS\VC\PlatformSDK\include\winbase.h(1591) : error C2733: second C linkage of
overloaded function 'InterlockedExchange' not allowed
e:\VS\VC\PlatformSDK\include\winbase.h(1588) : see declaration of 'Inter
lockedExchange'
e:\VS\VC\PlatformSDK\include\winbase.h(1602) : error C2733: second C linkage of
overloaded function 'InterlockedExchangeAdd' not allowed
e:\VS\VC\PlatformSDK\include\winbase.h(1599) : see declaration of 'Inter
lockedExchangeAdd'
e:\VS\VC\PlatformSDK\include\winbase.h(1611) : error C2733: second C linkage of
overloaded function 'InterlockedCompareExchange' not allowed
e:\VS\VC\PlatformSDK\include\winbase.h(1607) : see declaration of 'Inter
lockedCompareExchange'
NMAKE : fatal error U1077: 'e:\VS\VC\BIN\cl.EXE' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'e:\VS\VC\BIN\nmake.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
찾아보니... 다른 case에서는 InterlockedExchange 함수가 저리 된 경우
define된 주석을 하나 해제 시키면 되던데...
어떻게 해야 할지 몰라 도움 요청드립니다. ><
아시는 분들 도움 부탁드려요~~
감사합니다.
댓글 달기