Not sure if this is the appropriate fix but reading this it mentions explicitly that execinfo.h is not available on the following platforms: musl libc, FreeBSD 9.3, NetBSD 6.1, OpenBSD 6.9, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 10, Cygwin, mingw, MSVC 14, Android 9.0
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've noticed since version 2.19.0 building with musl libc (alpine for example). I get the following error:
But using the following patch it works:
Not sure if this is the appropriate fix but reading this it mentions explicitly that
execinfo.his not available on the following platforms:musl libc, FreeBSD 9.3, NetBSD 6.1, OpenBSD 6.9, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 10, Cygwin, mingw, MSVC 14, Android 9.0If you want this merged, please open a PR at https://github.com/danmar/cppcheck/pulls