clang_parseTransitionUnit2 gives error

Enes Albay albayenes at gmail.com
Mon Apr 11 21:58:15 BST 2022


I have two versions of clang. clang 11 and clang 13 . I installed clang 13
after the error.

kde/src/kdevelop/plugins/clang$ clang --version
Debian clang version 11.1.0-6+b2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin




On Mon, Apr 11, 2022 at 11:08 PM Milian Wolff <mail at milianw.de> wrote:

> On Montag, 11. April 2022 20:16:33 CEST Enes Albay wrote:
> > It does not give any error
> >
> > ~$ clang -ferror-limit=100 -fspell-checking -Wunused-parameter
> > -Wunreachable-code -Wall -std=c++11 -nostdinc -nostdinc++ -xc++
> > -Wno-gnu-zero-variadic-macro-arguments -isystem/usr/include/c++/11
> > -isystem/usr/include/x86_64-linux-gnu/c++/11
> > -isystem/usr/include/c++/11/backward -isystem/usr/local/include
> > -isystem/usr/include/x86_64-linux-gnu -isystem/usr/include -isystem
> > /usr/lib/llvm-11/lib/clang/11.1.0/include -imacros
> > /home/enes/clan_defines.cpp
> >
> -working-directory/media/enes/MyFiles/programming/cpp/cmakeExamples/ex1/buil
> > d /media/enes/MyFiles/programming/cpp/cmakeExamples/ex1/main.cpp
>
> Hm this is very odd, I cannot really come up with a theory to explain this.
>
> Just to double check - `clang --version` also gives version 11.1.0? Or do
> you
> have multiple versions installed maybe? What version of libclang do you
> have
> installed?
>
> All of this works fine for me after all...
>
> --
> Milian Wolff
> mail at milianw.de
> http://milianw.de



-- 
Enes Albay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20220411/3aef22ad/attachment.htm>


More information about the KDevelop-devel mailing list