C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[13138] [질문]W8058 Cannot create pre-compiled header: code in header
공부중 [hurco] 1594 읽음    2001-11-27 12:57
제 소스에 c파일을 첨가하여 컴파일하니 다음과 같은 경고가 나오는데
이 문제를 어떻게 해결해야 하나요.
W8058 Cannot create pre-compiled header: code in header
help파일에는

(Command-line option to suppress warning: -w-pch)

This warning is issued when pre-compiled headers are enabled but the compiler could not generate one, for one of the following reasons:

Reason    Explanation

write failed        The compiler could not write to the pre-compiled header file. This is usually due to the disk being full.
code in header        One of the headers contained a non-inline function body.
initialized data in header    One of the headers contained a global variable definition (in C, a global variable with an initializer; in C++ any variable not declared as 'extern').
header incomplete        The pre-compiled header ended in the middle of a declaration, for example, inside a class definition (this often happens when there is a missing"}" in a header file).

라고 되어 있는데 컴파일 옵션중에서 설정해야 될것 같은데 어떻게 해야 하나요.

+ -

관련 글 리스트
13138 [질문]W8058 Cannot create pre-compiled header: code in header 공부중 1594 2001/11/27
13140     자답-Re:[질문]W8058 Cannot create pre-compiled header: code in header 공부중 1448 2001/11/27
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.