https://bugs.kde.org/show_bug.cgi?id=438249

Arthur Gruzauskas <deb...@gruz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |git master
           Platform|Debian stable               |Debian testing

--- Comment #27 from Arthur Gruzauskas <deb...@gruz.net> ---
Have been using kdevelop git master successfully for the last 8 months with the
following patch suggested by Igor:

---------------------------------------------------------------------------------------------------------------------------------------------------------------
--- kdevelop-22.04.1-orig/plugins/clang/duchain/builder.cpp     2022-06-01
21:11:28.907037431 +0300
+++ kdevelop-22.04.1/plugins/clang/duchain/builder.cpp  2022-06-01
21:12:48.177035132 +0300
@@ -1080,7 +1080,7 @@
 #endif

 #if CINDEX_VERSION_MINOR >= 16
-    decl->setBitWidth(clang_getFieldDeclBitWidth(cursor));
+    decl->setBitWidth(-1);
 #endif

     if (clang_isCursorDefinition(cursor)) {
---------------------------------------------------------------------------------------------------------------------------------------------------------------

The other day had to reinstall Debian testing, and again the same crash on a
freshly compiled kdevelop git master doing an initial source parse. The above
patch worked yet again.

Happy to supply any info, or do any suggested bug hunting.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to