Code::Blocks Forums

User forums => Help => Topic started by: Daazku on January 22, 2009, 04:39:20 am

Title: Problem when building.
Post by: Daazku on January 22, 2009, 04:39:20 am
I have a small problem since I passed from XP to Vista.

When I build my project a second time with NO CHANGE in ANY file near the whole project rebuild and I don't know why..
Title: Re: Problem when building.
Post by: MortenMacFly on January 22, 2009, 07:27:45 am
When I build my project a second time with NO CHANGE in ANY file near the whole project rebuild and I don't know why..
This might be an issue with the time stamps of your files (at least is has been for other users). Check your clock and compare the time with the one of your files. E.g. if all your files are from year 2010 they will always be compiled. Such things happen if the system clock is/was broken.
Title: Re: Problem when building.
Post by: Daazku on January 22, 2009, 07:10:26 pm
Tanks! that was the problem... all timestamps was fucked.. I needed to open manually all files and edit them with notepad ++ to solve the problem...

Do you know a better way to do that? Because it was long.... and with a larger project it will be fucking long..
Title: Re: Problem when building.
Post by: MortenMacFly on January 22, 2009, 08:18:08 pm
Do you know a better way to do that?
under Linux there is "touch". Under Windows the GnuWin32 tools deliver a "touch" tool, too... IIRC...