We help IT Professionals succeed at work.

What's this meaning??

chenda19780925
on

 When I run my Project in BCB 5.0, it show me a Warning information  that it is

 "W8058 Cannot create pre-compiled header: code in header",  but I don't understand it. Thanks!
Comment
Watch Question

Commented:
From the BCB help file:


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).


Good luck!!
Commented:
A LITTLE MORE LEGIBLE:



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).

Explore More ContentExplore courses, solutions, and other research materials related to this topic.