Troubleshooting

intrin.h errors

codevania 2010. 10. 28. 14:44
Windows SDK를 설치하고 나니 아래와 같은 컴파일 에러 발생 -_-;

2>D:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(944) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
2>        D:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(944) : see declaration of '_interlockedbittestandset'

error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
see declaration of '_interlockedbittestandset'

VS의 Directory설정에 Windows SDK가 추가되어 있길래 구글링을 해보니...
intrin.h 파일을 열어서 Comment Out 하란다...;;