Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Build output parser misses some include paths
Build output parser misses some include paths [message #1857774] Fri, 24 February 2023 19:38 Go to next message
Vladimir Grishchenko is currently offline Vladimir GrishchenkoFriend
Messages: 104
Registered: July 2009
Senior Member
Seemingly some include paths specified by -I are missed as the clean build runs which then results in indexing errors. Interestingly if I then modify a single file that needs a missed include path and then build the project incrementally the build output parser picks up that path and the indexer is happy from that point on. I compared the compiler invocation command lines and they are exactly the same between clean and incremental builds. The makefiles are actually generated by cmake if that matters. I'm keeping discovered entries at the project level, this is not technically correct as source files in different folders can be compiled with different -I and -D values, but this is the only way I could make it work due to cmake using unity builds (I can't disable unity don't ask me why) with fused files kept outside of the source tree. This is on Linux. Any ideas?

[Updated on: Fri, 24 February 2023 19:40]

Report message to a moderator

Re: Build output parser misses some include paths [message #1857776 is a reply to message #1857774] Fri, 24 February 2023 22:59 Go to previous message
Vladimir Grishchenko is currently offline Vladimir GrishchenkoFriend
Messages: 104
Registered: July 2009
Senior Member
Well, now I can't even get the parser to recognize the entries from partial builds, the -I option seems normal and I tested the regex should match the command line.
Previous Topic:Link external source folder via environment variable
Next Topic:True post-build actions
Goto Forum:
  


Current Time: Wed Feb 05 07:50:28 GMT 2025

Powered by FUDForum. Page generated in 0.02314 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top