이글루스 로그인

카테고리 : Major[Errors]

2007/10/27   fatal error C1010 : .c & .cpp의 혼용


fatal error C1010 : .c & .cpp의 혼용

VC에서 c와 cpp을 혼용해서 쓸 경우 "stdafx.h", 즉 precompile header file의 처리가 서로 다르기 때문에 발생하는 오류
(fatal error C1853: 'Debug/fdfdd.pch' is not a precompiled header file created with this compiler)

VC에서 precompile header는 cpp만 사용할 수 있기 때문에
solution view의 해당파일 즉,  c파일의 속성에서 precompile header를 찾아 사용하지 않음을 체크하면 된다.
by KaKaLoT | 2007/10/27 09:17 | Major[Errors] | 트랙백










rss

skin by jiinny