Re: clang_parseTransitionUnit2 gives error

Milian Wolff <[email protected]> Tue, 12 Apr 2022 09:26:39 +0200
Newsgroups gmane.comp.kde.devel.kdevelop
Message-ID <5914737.ELKC7ReEz3@milian-workstation>
On Montag, 11. April 2022 22:58:15 CEST Enes Albay wrote:
> I have two versions of clang. clang 11 and clang 13 . I installed clang 13
> after the error.

OK, and kdevelop is using libclang11 too I guess. Generally though, I can only 
repeat what I said - I have zero clue what could be going on over on your 
side. You'll have to debug that yourself I'm afraid, I haven't seen such an 
issue myself. It works just fine for me

Good luck

> 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 <[email protected]> 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/bu
> > il> 
> > > 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
> > [email protected]
> > http://milianw.de


-- 
Milian Wolff
[email protected]
http://milianw.de
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEezawi1aUvUGg3A1+8zYW/HGdOX8FAmJVKa8ACgkQ8zYW/HGd
OX8zjBAAngV7gCCU8gAT4ErWimMJeUtS+6Fx5ckbuIAQCRoTvV7Gcp4qeCNPL+g/
rmZeHgj8C9JG8+SOn2i8X8OhoZl9FRyjiLpr0sH9VULxups3dmiwQKwWFolDQt1Y
NBBUjJKxBKnuVVJoOS0VZlR9tAybt75auRDp4D3tBbBJ9wXzT2yHHDzuvUHaw4Ga
iBSz74QusWeFh9yg2wgEYcrDLadCReywhAOonk7vlIWyqTXBb5A5BZBAXjOGks0v
wgi7BEEFhyR9POfEThfZGFFRXoSJ7uGy4eTokj7rBzPCe47aOkmxoduJsdF4cYOC
Ikhvc6sHyNpoxFodZQmFZhV6zW1kV/x4jCgb4IKMbu5AXbc+8Q2fjfo6o7VPHI/W
24k6QUJSN7aNIKetv6DTe6yrEDywiNrhSe5orcNw3fnpr1mvkuCVwehligHqfIpa
TyV6Pgunmij8Pdiq6QUKEodAmFsDsrNPV52Qf7ZoAU2bzgfwUYefarx/nbZGnNJV
7AQ8YVKuKCegn1vVVpZwP63z6UTwhNuMVxhZAxpSa4zIun67Nvqmk1uauDlifCjB
fdfqfui4Vc5NTIBcyD2AGIbHoN+b44tnqRrLUN0rwuvyWPkmuKxartZgYnO/X2Ae
lm9t0TAR+Sr8c/o0yQqe9gHnO6M42Fk48eiUt4nT/OeCyDpmss4=
=GTqW
-----END PGP SIGNATURE-----