Make Clean
Posted: Tue Sep 20, 2016 10:18 am
Not sure why this is, but it cost me time yet again today. So I am making source changes, this time adding some NPC stats like minimum damage, maximum damage, mainly because I want them in the database. I know the code is right, there is no reason it would not be but I get consistent crashes during the loading of the zone. I spend probably close to 30 minutes going back through my code changes to make sure I do not have something "casting" wrong, like a float -> Int32 or such. I cannot find anything wrong with my code, looks perfect. The error looks like another Mutex issue. But in the log.cpp file? WTF I have not even touched that. What I was editing was world database and entity.cpp, no where near log.cpp.
The culprit ? I had changed a header file, this time entity.h and not done a make clean. So is this a normal thing? I have changed header files before with no issue but 50% of the time I have to do a make clean before make. That other 50% of the time I get a crash at some point before I remember it may need a make clean.
The culprit ? I had changed a header file, this time entity.h and not done a make clean. So is this a normal thing? I have changed header files before with no issue but 50% of the time I have to do a make clean before make. That other 50% of the time I get a crash at some point before I remember it may need a make clean.