https://bugs.kde.org/show_bug.cgi?id=427002
Bug ID: 427002 Summary: Parser fails to parse headers precompiled by CMake Product: kdevelop Version: 5.6.0 Platform: openSUSE RPMs OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: Language Support: CPP (Clang-based) Assignee: kdevelop-bugs-n...@kde.org Reporter: krzysio.ku...@wp.pl Target Milestone: --- Created attachment 131950 --> https://bugs.kde.org/attachment.cgi?id=131950&action=edit Example project using precompiled headers, note that std::cout and std::endl are not highlighted SUMMARY Headers which are being precompiled using CMake's `target_precompile_header` option are not parsed and result in broken syntax highlighting. STEPS TO REPRODUCE 1. Use functions / classes from a header in a source file 2. Configure the project to precompile the header 3. Open project with KDevelop and observe the syntax highlighting OBSERVED RESULT Objects defined in the precompiled headers are missing highlights and from the autocomplete. EXPECTED RESULT KDevelop ignores the precompiled headers and parses the included ones as normal. SOFTWARE/OS VERSIONS Linux/KDE Plasma: OpenSUSE Tumbleweed 5.8.10 (available in About System) KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1 -- You are receiving this mail because: You are watching all bug changes.