Compiler taking all of a sudden AGES to compile !

I am coding a small game in allegro. Anyway, my code is slowly buidling up. At some point, the compiling time went from 1 second to 1 minute.

At first I thought it was an issue with the code, by when I have put all the code under /* */, keeping an empty int main, I still end up having the same compiling time.

I am using Visuall C++ 2010 Express Edition.

Any person can provide a clue about what I doing that ? and how I can solve the problem.

Again the fact that I have took out all the code and just left the int main() alone without nothing inside, makes me think this has nothing to do with the code...
How many libs and headers are you including? Are you linking your app to any files that might be come locked for anyreason? Are you running an Antivirus suit with "Active Scan" or "Live Monitoring"?
Nothing too elaborated. In fact I deleted the "debug" folder of the project, and all went smooth. Dont know really why though.

thx for your feedback
Topic archived. No new replies allowed.