mikbal
mikbal

Reputation: 1198

Corrupt Builds with Visual Studio

Recently i have been experiencing more and more corrupt builds. For instance when i access

 npc[4]

it accesses

 npc[3]. 

Or instead of

details->Hp 

it returns

details->Energy.

Problem magically fixes itself when i rebuild. (after i spent hours trying to find the non-existing bug of course)

This is getting more frequent while my project gets bigger and bigger. Why does something like this occurs? How can i avoid it?

I hope i made myself clear.

thank you.

Upvotes: 1

Views: 170

Answers (1)

mikbal
mikbal

Reputation: 1198

thanks for the comments. i have found the problem. precompiled headers. they get corrupted after a while and cause unintended behaviors. there doesn't seem to me solution at the moment since I'm forced to use pchs.

Upvotes: 1

Related Questions