v5.1.4/5.2 problems parsing its own code?

René J.V. Bertin rjvbertin at gmail.com
Sun Sep 17 08:38:15 UTC 2017


Hi,

I don't know who of you get to see new bug reports, so forgive me for spamvertising the report I created yesterday:

https://bugs.kde.org/show_bug.cgi?id=384775

In short, opening my session containing the KDevelop project in v5.1.2.5 works fine, all headerfiles are found and the parser finds nothing particular to yell about. Install 5.1.40 from yesterday's 5.2 branch head, and things go south (more so on Mac than on Linux, at that). The ticket has a number of screenshots. I've done full project reparsing, I've tried deleting the entire session cache dir, nothing helps. In some cases I even get complaints about Qt headerfiles not being found.
I've tried importing a copy of the source tree with a virgin build dir and using cmake 3.9.1 directly instead of through a wrapper (but with all the required options), same thing. I tried with a wrapper that makes CMake behave as if it doesn't have server mode so that the import is done with the trusted old compile_commands.json method. Same thing (except that nice 4x shorter import time).

This is using libclang 4.0.1, from the same compiler install I'm using to build with, showing that the commands from compile_commands.json are sufficient.

I'm out of ideas, except the one that there's something broken somewhere in a subtle, perverse way - I haven't yet observed any of this in the few other projects I've tested (all much smaller, and not recently completely reorganised).

Food for a sunday afternoon thoughts, maybe (a rainy one at that, here).

R.


More information about the KDevelop-devel mailing list