Conditional directives for strerror_r don't work with musl #21
Labels
available on master
Fix is done on master branch, issue closed on next release
bug
Something isn't working
Milestone
Describe the bug
Using musl instead of glibc results in the #else branch in
systemErrorText
getting used; musl follows the POSIX standard.To Reproduce
Compiling a program using ghc::filesystem on Alpine Linux (uses musl as its libc by default) as part of a CI build is how I encountered this issue. Otherwise, setup another compiler to use musl instead of glibc.
Expected behavior
The variant of strerror_r that returns an int should be used.
Additional context
Line 208 of the log in https://cloud.drone.io/nightlark/HELICS-src/22/2/4 is where I first saw the problem.
The text was updated successfully, but these errors were encountered: