codelite icon indicating copy to clipboard operation
codelite copied to clipboard

[Bug]: Codelite not detecting when a header file has changed

Open mattreecebentley opened this issue 1 year ago • 4 comments

What happened?

Making changes to header files doesn't provoke codelite to recompile the project when you hit F5, it just uses the last build. Seems to usually work fine when changes are made to .cpp files. Also, codelite doesn't usually detect if a .cpp file has changed, if the .cpp file is an older one than the previous. ie. copying an old version across to the folder.

Version

Other

Operating system

Windows 10

Steps to reproduce

Cpp project, .h header file, both included in project.
Compile/build.
Make change to header file.
Build/F5 - not recompiled.

Relevant log output

No response

mattreecebentley avatar Jul 30 '23 22:07 mattreecebentley

FYI, I can't reproduce any of this, either with GCC or Clang, but I'm running on Arch / Gnome. Modifying a header does trigger the recompile and modifying file outside of Codelite also triggers UI to reload the changes.

yunkot avatar Nov 29 '23 18:11 yunkot

Yeah, it's

FYI, I can't reproduce any of this, either with GCC or Clang, but I'm running on Arch / Gnome. Modifying a header does trigger the recompile and modifying file outside of Codelite also triggers UI to reload the changes.

Yeah, it's been consistent on Windows for quite some time now. Using nuwen mingw here.

mattreecebentley avatar Nov 29 '23 22:11 mattreecebentley

ack, will try this on Windows

eranif avatar Nov 29 '23 22:11 eranif

I am getting similar issues on Pi5-Raspian. Rebuild required every time.

JohnHunkler avatar Jan 11 '24 02:01 JohnHunkler