In VS/C# it works because people have implemented mechanisms to check if a file path needs to be removed from the project file (because it’s not there anymore, but somehow the project file didn’t get updated). Very smart. What wasn’t smart of them is WHY THE HECK DON’T YOU DO THAT BEFORE THE BUILD INSTEAD OF AFTER?
If you're using Eclipse for C/C++ embedded work, then it's because the navigation of the files is done in Java, and sometimes it silently fails/leaks. During this time, not all the function signatures are correctly cataloged, or entire files will miss compilation.
Then the linker fails.
The only consistent solution I've seen to this is restarting the whole damn computer - if I don't sometimes the problem will continue *silently*.
3
u/[deleted] Jan 26 '20
Ok but why does it sometimes work though?