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

            Bug ID: 403484
           Summary: many classes not resolved by C++ indexer
           Product: kdevelop
           Version: 5.3.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: b...@gmx.com
  Target Milestone: ---

SUMMARY
Something is wrong with the C++ indexer in 5.3.1 but I'm not exactly sure
what's going wrong. There are lots of classes that don't get resolved. I see
errors like "member access to incomplete type" and other errors related to
incomplete types even though the header file for that class is #included. When
I open the header file for those classes which the indexer isn't resolving,
there is a warning which says "Header is not guarded against multiple
inclusions", which is wrong. I can get that warning to go away by clicking the
refresh button in the Problems area, but when I switch to another file then
switch back to that header, the erroneous warning comes back.

I have tried reopening the project and clearing the cache (both multiple
times), but the problem persists.

This is a regression. KDevelop used to parse this code fine. I don't know what
the last working version was.

STEPS TO REPRODUCE
1. Download code from
https://github.com/kshitij98/mixxx/tree/effects_refactoring
2. Set up KDevelop project as described at
https://mixxx.org/wiki/doku.php/kdevelop
3. Open src/effects/effectslot.cpp

OBSERVED RESULT
lots of unresolved symbols

EXPECTED RESULT
All symbols resolved, able to use "show uses", "jump to declaration", and "jump
to definition features" with accurate and complete results.

SOFTWARE/OS VERSIONS
GNOME 3.30.2
KDE Frameworks Version: 5.53 
Qt Version: 5.11.1
OS: Fedora 29, using KDevelop package from Fedora

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to