Bug 405696 - Kdevelop fail parse some files
Summary: Kdevelop fail parse some files
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (other bugs)
Version First Reported In: 5.3.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-20 17:05 UTC by Nikita Sirgienko
Modified: 2019-03-20 20:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.