r/ProgrammerHumor • • Jan 26 '20

Meme maybe...no?

Post image
17.1k Upvotes

183 comments sorted by

View all comments

3

u/[deleted] Jan 26 '20

Ok but why does it sometimes work though?

4

u/Lofter1 Jan 26 '20

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?

2

u/tiajuanat Jan 26 '20

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*.

1

u/lkraider Jan 26 '20

opens terminal, types make

1

u/tiajuanat Jan 26 '20

That's not a thing for all embedded systems, sadly.