Thanks for your answer. Then it must be just after the last release. Compiling from main fixes the problem for me.
Hi, when analyzing the following C11 code, cppcheck crashes with a segmentation fault: void func_a(int *a) { } void func_b(float *b) { } #define foo(i) _Generic((i), \ int*:func_a, \ float*:func_b \ )(i) int main(int argc, char argv[]) { int bar; if (0 != argc) { foo(&bar); } return 0; } $ gcc main.c $ ./a.out $ cppcheck --version Cppcheck 2.12.1 $ cppcheck main.c Checking main.c ... Segmentation fault (core dumped) The bug seems to be related to the C11 generic function in combination with the condition....