fix: building with non other standard libraries than glibc#8302
fix: building with non other standard libraries than glibc#8302AMS21 wants to merge 1 commit intodanmar:mainfrom
Conversation
|
|
We dropped this change since it doesn't work. The correct handling would be to detect if the include is available. Unfortunately Knowing the use case of musl (although I think nobody should ever be using it as it violates the spec) to reproduce it I will take a look on fixing this properly. This also allows us to add a step to the CI to make sure it doesn't break in the future. |
|
I filed https://trac.cppcheck.net/ticket/14579 about it and started adding Alpine to the CI in #8313. |



I've noticed since version 2.19.0 building with musl libc (alpine for example). I get the following error:
Documentation 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.0