User forums > Using Code::Blocks
Codeblocks sometimes doesn't recompile a project if I changed something
(1/1)
daniel_silva:
Sometimes when I make a change to a cpp file, codeblocks doesn't recompile the program, I need to rebuild the project so I can see my changes.
Sometimes it does this and I don't know how to fix, I think restarting my pc fixes it temporarily.
I am on linux mint 22.3
Name : Code::Blocks
Version : 25.03-r13644
SDK Version : 2.25.0
Scintilla Version : 3.7.5
ollydbg:
Is the cpp file(for example, you have a a.cpp file) included in your cbp project file?
You may check the modified "timestamp" of the cpp file, because Code::Blocks use this time information to track whether the file get changed or not.
daniel_silva:
Thanks, it was this timestamp thing, I was changing the date of my OS to test my program (it uses dates in some ways), some cpp files had future timestamps
Navigation
[0] Message Index
Go to full version