KDAB / codebrowser

Woboq CodeBrowser
http://woboq.com/codebrowser.html
Other
1.1k stars 161 forks source link

Failed to run after building the code browser with llvm/clang-16 #116

Closed ryftchen closed 1 year ago

ryftchen commented 1 year ago

After building the code browser with llvm/clang-16, get many of the following errors when trying to run it. This seems to be related to finding the system library header files, but it works fine with llvm/clang-15 and earlier versions in the same project.

[3%] Processing /root/foo/algorithm/source/match.cpp
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h.16.3)..__wch: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h.16.3)..__wchb: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h.28.3)..__high: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h.28.3)..__low: No such file or directory
Error writing ref file ./document/browser/refs/std..basic_string..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h.179.7).._M_allocated_capacity: No such file or directory
Error writing ref file ./document/browser/refs/std..basic_string..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h.179.7).._M_local_buf: No such file or directory
Error writing ref file ./document/browser/refs/std..common_iterator..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_iterator.h.2129.5).._M_it: No such file or directory
Error writing ref file ./document/browser/refs/std..common_iterator..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_iterator.h.2129.5).._M_sent: No such file or directory
...
[24%] Processing /root/foo/application/core/source/main.cpp
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.97.3).._lower: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.97.3).._upper: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.94.6).._addr_bnd: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.94.6).._pkey: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.108.2)..si_band: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.108.2)..si_fd: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.116.2).._arch: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.116.2).._call_addr: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.116.2).._syscall: No such file or directory
...
Waqar144 commented 1 year ago
  1. Did you try with the latest master?
  2. Does the generation finish?
ryftchen commented 1 year ago
  1. Did you try with the latest master?
  2. Does the generation finish?
  1. Yes. The latest master commit was used to build the code browser.
  2. Yes, here are the full results. There were errors in some of the files (same as version 17).
~# codebrowser_generator -color -a -b ./build/compile_commands.json -o ./document/browser -p foo:.:4a74cd2 -d ./data
[3%] Processing /root/foo/algorithm/source/match.cpp
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h.16.3)..__wch: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h.16.3)..__wchb: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h.28.3)..__high: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h.28.3)..__low: No such file or directory
Error writing ref file ./document/browser/refs/std..basic_string..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h.179.7).._M_allocated_capacity: No such file or directory
Error writing ref file ./document/browser/refs/std..basic_string..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h.179.7).._M_local_buf: No such file or directory
Error writing ref file ./document/browser/refs/std..common_iterator..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_iterator.h.2129.5).._M_it: No such file or directory
Error writing ref file ./document/browser/refs/std..common_iterator..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_iterator.h.2129.5).._M_sent: No such file or directory
Error writing ref file ./document/browser/refs/std..common_iterator..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_iterator.h.2129.5).._M_valueless: No such file or directory
[6%] Processing /root/foo/algorithm/source/notation.cpp
Error: /root/foo/algorithm/source/notation.cpp:85: 'Priority' is a private member of 'algorithm::notation::Notation'
[10%] Processing /root/foo/algorithm/source/optimal.cpp
Error: /root/foo/algorithm/source/optimal.cpp:251: 'Population' is a private member of 'algorithm::optimal::Genetic'
Error: /root/foo/algorithm/source/optimal.cpp:440: 'Chromosome' is a private member of 'algorithm::optimal::Genetic'
Error writing ref file ./document/browser/refs/std..__cow_string..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/stdexcept.50.5).._M_bytes: No such file or directory
Error writing ref file ./document/browser/refs/std..__cow_string..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/stdexcept.50.5).._M_p: No such file or directory
Error writing ref file ./document/browser/refs/std..random_device..(anonymousunion)..(anonymousstructat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/random.h.1668.7).._M_fd: No such file or directory
Error writing ref file ./document/browser/refs/std..random_device..(anonymousunion)..(anonymousstructat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/random.h.1668.7).._M_file: No such file or directory
Error writing ref file ./document/browser/refs/std..random_device..(anonymousunion)..(anonymousstructat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/random.h.1668.7).._M_func: No such file or directory
Error writing ref file ./document/browser/refs/std..random_device..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/random.h.1666.5).._M_mt: No such file or directory
[13%] Processing /root/foo/application/core/source/command.cpp
Error: /root/foo/application/core/source/command.cpp:228: call to non-static member function without an object argument
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/gmp.h.216.3).._mp_lc: No such file or directory
Error writing ref file ./document/browser/refs/in6_addr..(unnamedunionat/usr/include/netinet/in.h.221.5)..__u6_addr16: No such file or directory
Error writing ref file ./document/browser/refs/in6_addr..(unnamedunionat/usr/include/netinet/in.h.221.5)..__u6_addr32: No such file or directory
Error writing ref file ./document/browser/refs/in6_addr..(unnamedunionat/usr/include/netinet/in.h.221.5)..__u6_addr8: No such file or directory
[17%] Processing /root/foo/application/core/source/config.cpp
[20%] Processing /root/foo/application/core/source/log.cpp
Error writing ref file ./document/browser/refs/std..__detail.._State_base..(anonymousunion)..(anonymousstructat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/regex_automaton.h.84.7).._M_alt: No such file or directory
Error writing ref file ./document/browser/refs/std..__detail.._State_base..(anonymousunion)..(anonymousstructat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/regex_automaton.h.84.7).._M_neg: No such file or directory
Error writing ref file ./document/browser/refs/std..__detail.._State_base..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/regex_automaton.h.80.5).._M_backref_index: No such file or directory
Error writing ref file ./document/browser/refs/std..__detail.._State_base..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/regex_automaton.h.80.5).._M_matcher_storage: No such file or directory
Error writing ref file ./document/browser/refs/std..__detail.._State_base..(anonymousunionat/usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/regex_automaton.h.80.5).._M_subexpr: No such file or directory
[24%] Processing /root/foo/application/core/source/main.cpp
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.97.3).._lower: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.97.3).._upper: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.94.6).._addr_bnd: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.94.6).._pkey: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.108.2)..si_band: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.108.2)..si_fd: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.116.2).._arch: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.116.2).._call_addr: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.116.2).._syscall: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.56.2)..si_pid: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.56.2)..si_uid: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.63.2)..si_overrun: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.63.2)..si_sigval: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.63.2)..si_tid: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.71.2)..si_pid: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.71.2)..si_sigval: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.71.2)..si_uid: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.79.2)..si_pid: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.79.2)..si_status: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.79.2)..si_stime: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.79.2)..si_uid: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.79.2)..si_utime: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.89.2).._bounds: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.89.2)..si_addr: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.89.2)..si_addr_lsb: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunionat/usr/include/dlfcn.h.190.17)..__dls_serpath_pad: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(anonymousunionat/usr/include/dlfcn.h.190.17)..dls_serpath: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.51.5).._kill: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.51.5).._pad: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.51.5).._rt: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.51.5).._sigchld: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.51.5).._sigfault: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.51.5).._sigpoll: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.51.5).._sigsys: No such file or directory
Error writing ref file ./document/browser/refs/(anonymousstruct)..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/siginfo_t.h.51.5).._timer: No such file or directory
Error writing ref file ./document/browser/refs/sigaction..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/sigaction.h.31.5)..sa_handler: No such file or directory
Error writing ref file ./document/browser/refs/sigaction..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/sigaction.h.31.5)..sa_sigaction: No such file or directory
Error writing ref file ./document/browser/refs/sigcontext..(anonymousunionat/usr/include/x86_64-linux-gnu/bits/sigcontext.h.167.17)..__fpstate_word: No such file or directory
Error writing ref file ./document/browser/refs/sigcontext..(anonymousunionat/usr/include/x86_64-linux-gnu/bits/sigcontext.h.167.17)..fpstate: No such file or directory
Error writing ref file ./document/browser/refs/sigevent..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h.36.2).._attribute: No such file or directory
Error writing ref file ./document/browser/refs/sigevent..(anonymousunion)..(unnamedstructat/usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h.36.2).._function: No such file or directory
Error writing ref file ./document/browser/refs/sigevent..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h.28.5).._pad: No such file or directory
Error writing ref file ./document/browser/refs/sigevent..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h.28.5).._sigev_thread: No such file or directory
Error writing ref file ./document/browser/refs/sigevent..(unnamedunionat/usr/include/x86_64-linux-gnu/bits/types/sigevent_t.h.28.5).._tid: No such file or directory
[27%] Processing /root/foo/application/core/source/view.cpp
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..asn1_string: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..asn1_value: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..bit_string: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..bmpstring: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..boolean: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..enumerated: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..generalizedtime: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..generalstring: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..ia5string: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..integer: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..object: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..octet_string: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..printablestring: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..ptr: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..sequence: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..set: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..t61string: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..universalstring: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..utctime: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..utf8string: No such file or directory
Error writing ref file ./document/browser/refs/asn1_type_st..(unnamedunionat/usr/include/openssl/asn1.h.522.5)..visiblestring: No such file or directory
[31%] Processing /root/foo/application/example/source/apply_algorithm.cpp
[34%] Processing /root/foo/application/example/source/apply_data_structure.cpp
[37%] Processing /root/foo/application/example/source/apply_design_pattern.cpp
[41%] Processing /root/foo/application/example/source/apply_numeric.cpp
[44%] Processing /root/foo/data_structure/source/linear.cpp
[48%] Processing /root/foo/data_structure/source/tree.cpp
[51%] Processing /root/foo/design_pattern/source/behavioral.cpp
Error: /root/foo/design_pattern/source/behavioral.cpp:80: call to non-static member function without an object argument
Error: /root/foo/design_pattern/source/behavioral.cpp:138: call to non-static member function without an object argument
Error: /root/foo/design_pattern/source/behavioral.cpp:168: call to non-static member function without an object argument
Error: /root/foo/design_pattern/source/behavioral.cpp:224: call to non-static member function without an object argument
Error: /root/foo/design_pattern/source/behavioral.cpp:317: call to non-static member function without an object argument
Error: /root/foo/design_pattern/source/behavioral.cpp:427: call to non-static member function without an object argument
Error: /root/foo/design_pattern/source/behavioral.cpp:468: call to non-static member function without an object argument
[55%] Processing /root/foo/design_pattern/source/creational.cpp
Error: /root/foo/design_pattern/source/creational.cpp:121: call to non-static member function without an object argument
[58%] Processing /root/foo/design_pattern/source/structural.cpp
Error: /root/foo/design_pattern/source/structural.cpp:19: call to non-static member function without an object argument
Error: /root/foo/design_pattern/source/structural.cpp:81: call to non-static member function without an object argument
Error: /root/foo/design_pattern/source/structural.cpp:220: call to non-static member function without an object argument
Error: /root/foo/design_pattern/source/structural.cpp:261: call to non-static member function without an object argument
[62%] Processing /root/foo/numeric/source/arithmetic.cpp
[65%] Processing /root/foo/numeric/source/divisor.cpp
[68%] Processing /root/foo/numeric/source/integral.cpp
[72%] Processing /root/foo/numeric/source/prime.cpp
[75%] Processing /root/foo/utility/source/argument.cpp
[79%] Processing /root/foo/utility/source/common.cpp
[82%] Processing /root/foo/utility/source/console.cpp
Error: /root/foo/utility/source/console.cpp:67: call to non-static member function without an object argument
[86%] Processing /root/foo/utility/source/file.cpp
Error: /root/foo/utility/source/file.cpp:75: call to non-static member function without an object argument
[89%] Processing /root/foo/utility/source/json.cpp
Error: /root/foo/utility/source/json.cpp:378: call to non-static member function without an object argument
[93%] Processing /root/foo/utility/source/socket.cpp
Error: /root/foo/utility/source/socket.cpp:28: call to non-static member function without an object argument
Error: /root/foo/utility/source/socket.cpp:28: '~Socket' is a protected member of 'utility::socket::Socket'
[96%] Processing /root/foo/utility/source/thread.cpp
Error: /root/foo/utility/source/thread.cpp:54: call to non-static member function without an object argument
[100%] Processing /root/foo/utility/source/time.cpp
ryftchen commented 1 year ago

@Waqar144 I'm not sure if the handling in some of the llvm api's changed in some way after the upgrade to version 16, causing these errors when analysing the source files. It looks like version 17 has similar but fewer errors.

Waqar144 commented 1 year ago

Fixed with https://github.com/KDAB/codebrowser/commit/f17b52321d7fb31d2289da9ff209656bcb33bf37