Summary: | many classes not resolved by C++ indexer | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Be <be.0> |
Component: | Language Support: CPP (Clang-based) | Assignee: | kdevelop-bugs-null |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | gnurou, mail, sh200105 |
Priority: | NOR | ||
Version: | 5.3.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Be
2019-01-22 04:29:49 UTC
I am seeing this as well, both with C and C++ projects. This severely impacts KDevelop's usability. It looks like this warning is more the result of a parsing failure than an actual false positive. If that was the case, then I suspect the file would still be parsed nonetheless, while currently none of the symbols are resolved. By the way, do you know which version of clang your KDevelop is linked against? (clang --version is probably a realiable way to get it) I suspect that this may be due to clang 7, as another machine of mine, which uses older packages, seems to be working fine AFAICT (I have compiled KDevelop myself on both). I don't have access to it yet, but should be able to confirm both the behavior and clang version next week. It seems to be confirmed that the issue is with clang 7. I have downloaded and run the official 5.3.1 AppImage and it works just fine. The AppImage embeds clang6. I suppose we can use this as a workaround until the issue is properly fixed. Thank you for investigating. Yes, Fedora 29 ships Clang 7. I downloaded the AppImage and these errors no longer appear. Sadly the AppImage is also crashing regularly for me. :/ Is this still an issue with current Clang versions? (I attempted to build the example project, but it doesn't seem to work with current SCons). |