[Bug 1178637] clazy crashes with libclang11/libLLVM11
http://bugzilla.opensuse.org/show_bug.cgi?id=1178637 http://bugzilla.opensuse.org/show_bug.cgi?id=1178637#c6 Aaron Puchert <aaronpuchert@alice-dsl.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |christophe@krop.fr Flags| |needinfo?(christophe@krop.f | |r) --- Comment #6 from Aaron Puchert <aaronpuchert@alice-dsl.net> --- Should be fixed, see comment 5. (In reply to Aaron Puchert from comment #3)
Clazy should probably be patched to invoke "clang-XX" instead of "clang", which is a symlink managed by update-alternatives. You can get the major version from one of these macros:
/usr/include/clang/Basic/Version.inc:#define CLANG_VERSION_MAJOR 11 /usr/include/llvm/Config/llvm-config.h:#define LLVM_VERSION_MAJOR 11
One of these headers is probably already included.
I wonder why it doesn't already do that, the clang-XX executable is built even in upstream, so it seems like it should be available everywhere. Do we still want to do this? Otherwise I'd suggest to close the bug.
-- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com