Bug 405696

Summary: Kdevelop fail parse some files
Product: [Applications] kdevelop Reporter: Nikita Sirgienko <warquark>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.3.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nikita Sirgienko 2019-03-20 17:05:48 UTC
SUMMARY
KDevelop fail to handle some certain files: syntax highlighting and autocompletion  don't work in them.
For example, file "scalar_mesh.cpp" in my "isomesh" cmake project. When I work in this file, Kdevelop prints this messages:
kdevelop.plugins.clang: clang_parseTranslationUnit2 return with error code 4
kdevelop.plugins.clang: Failed to parse translation unit: "/home/mmmm1998/Документы/Репозитории/isomesh/src/field/scalar_mesh.cpp"
kdevelop.plugins.clang: No context found for QUrl("file:///home/mmmm1998/Документы/Репозитории/isomesh/src/field/scalar_mesh.cpp")
fatal error: file '/home/mmmm1998/Документы/Репозитории/isomesh/build/cotire/isomesh_CXX_prefix.hxx.gch' is not a valid precompiled PCH file
kdevelop.plugins.clang: clang_parseTranslationUnit2 return with error code 4
kdevelop.plugins.clang: Failed to parse translation unit: "/home/mmmm1998/Документы/Репозитории/isomesh/src/field/scalar_mesh.cpp"

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 4.15.0-46-generic
(available in About System)
KDE Frameworks Version: some of them 5.44, some 5.49
Qt Version: 5.9.5

ADDITIONAL INFORMATION
"isomesh" library hosted on github.com (Svenny/isomesh), so mentioned file could be downloaded for debbuging from there.
Comment 1 Nikita Sirgienko 2019-03-20 20:00:07 UTC
"scalar_mesh.cpp" not available yet, but "ply_data.cpp" have a similar problem.