How would you solve the situation when you have big project, which compilation lasts 10 minutes, but then you find error "unexpected end of file found"
This refers to end of file resource.h but I have suspicion that there is some error in different file included before. Last thing I did (if I remember correctly) that I added header guards to some header files (cca 15) and created stdafx.h. But I checked all these guards if they have the #endif and all are ok. So I cannot find the source of the error. How do you solve this?
I have added it to the main application cpp. I did not see any error saying that i should include stdafx to all cpp. But maybe these errors disappeared because of /P option, which I added recently. Writing precompiled headers to file. So, I should probably include stdafx in all cpp files, still.