Re: Parsing issues with libclang5 on kdevelop 5.2.1
Milian Wolff <[email protected]>
| Newsgroups | gmane.comp.kde.users.kdevelop |
|---|---|
| Message-ID | <1746571.x17d1zPQCP@milian-kdab2> |
On Monday, February 5, 2018 10:44:17 PM CET Mathias Kraus wrote: > Does anyone have problems with parsing when using kdevelop 5.2.1 with > libclang5. I'm using KDE neon which ships libclang5 since a few weeks and I > had problems with parsing since then, e.g. displayed error for connection > Qt signals and slots. Just reverted back to libclang4 and everything is > fine again. I have seen one issue myself, so maybe that's also it. To verify: Can you please do the following: In one of the erroneous files, open the Problems tool view, select "show imports" and then inspect the errors that you see? In my case, I've sometimes seen issues with the maximum template instantiation depth being reached, leading to dozens of errors which eventually let the parser give up. Is that the case for you too? Can you fix it by increasing the instantiation depth via the project settings -> custom defines/includes -> compilers -> add -ftemplate-depth=1024 or even something higher? Cheers -- Milian Wolff [email protected] http://milianw.de