Bug#966386: crashes with --clang option

2020-07-27 Thread John Scott
Thank you, that was fast! > Including your command-line would have been nice. Sorry, I forgot that what looks to me like a C program could be C++ to someone else. I'll try to be more direct. signature.asc Description: This is a digitally signed message part.

Bug#966386: crashes with --clang option

2020-07-27 Thread Joachim Reichel
tag 966386 +upstream forwarded 966386 https://trac.cppcheck.net/ticket/9820#ticket thanks Hi Scott, I forwarded the bug to the upstream bug tracker. I'll add the Suggests: clang to cppcheck (was only there for cppcheck-gui). Including your command-line would have been nice. Initially, I was not

Bug#966386: crashes with --clang option

2020-07-27 Thread John Scott
Package: cppcheck Version: 2.0-3 Severity: normal X-Debbugs-Cc: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 With --clang, Cppcheck seems to crash on a file as minimal as: main(){} Here is my gdb session from version 2.1-1: Program received signal SIGSEGV, Segmentation fault. 0x557df