|
제 소스에 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).
라고 되어 있는데 컴파일 옵션중에서 설정해야 될것 같은데 어떻게 해야 하나요.
|