c·c++

Error 11 error C3163: '_vsnprintf': attributes inconsistent

toyship 2012. 5. 28. 08:19
반응형

visual studio 2008에서 

nvidia-texture-tools를 컴파일 하며 아래와 같은 에러가 난다.


Error 11 error C3163: '_vsnprintf': attributes inconsistent


이경우, nvcore 프로젝트아래의 DefsVcWin32.h에 코드를 아래와 같이 수정하면 된다.


#if     _MSC_VER < 1500 

#define vsnprintf _vsnprintf 

#endif

반응형