Link to home
Start Free TrialLog in
Avatar of Hahaha
Hahaha

asked on

a question in C++ Bulider 6 compile

the ide prompt me:
[C++ Warning]Dialogs.hpp(437):W8058 Cannot create pre-compiled header: initialized data in header

how this means? what can i do ?
ASKER CERTIFIED SOLUTION
Avatar of xyzzer
xyzzer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of udil
udil

This question has been abandoned. I will make a recommendation to the moderators on its resolution in a week or two. I appreciate any comments that would help me to make a recommendation.

In the absence of responses, I may recommend DELETE unless it is clear to me that it has value as a PAQ. Silence = you don't care.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Udil
EE Cleanup Volunteer
It's just that warnings tell You that something's not very nicely organized in the code. They might show that something has been done wrong thus helping to detect possible bugs or just that something is not done as well as it could have been. If the warning tells us about something we've done on purpose we can use pragmas to switch it off to make the errors/warnings log more clear. I usually use something like this:

...
#pragma warn -pia  
//turns off the warning (pia means possibly incorrect assignment, but You can also use the warning number instead)
if (ret=SomeFunction()) {
#pragma warn +pia
//to turn it back on
...

--Filip