나는 내 프로젝트에 ZipArchive 라이브러리를 구현하고 있으며, 한 시간 이상 그것을 준비하여 모든 링커 오류를 막을 수있었습니다. 하지만 지금은 여전히이 문제가 남아 있으며 문제를 해결하기위한 최선의 방법이 확실하지 않아 도움이 될 수 있습니다.클래스 템플릿이 이미 정의 된 문제를 해결하려면 어떻게해야합니까?
C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxtls_.h(199) : error C2953: 'CThreadLocal' : class template has already been defined
c:\dev-mms\hl2sdk-ob-valve\public\tier0/threadtools.h(283) : see declaration of 'CThreadLocal'
C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxtls_.h(202) : warning C4005: 'THREAD_LOCAL' : macro redefinition
c:\dev-mms\hl2sdk-ob-valve\public\tier0/threadtools.h(71) : see previous definition of 'THREAD_LOCAL'
당신이 부분을 게시 할 수 문제의 원인이되는 코드는 무엇입니까? – suszterpatt
다른 스타일로 교차 게시 할 때 명시 적으로 언급하는 것이 좋은 스타일입니다 (http://forums.steampowered.com/forums/showthread.php?p=13710128). –