Open kcgen opened 2 years ago
Hmm.. it looks like the current master
branch is actually failing CI with this:
Fortunately @zivke's already submitted a one-line fix for this (https://github.com/emilk/loguru/pull/187), which is also sitting in the PR queue.
I merged @zivke's fix to this PR, just to get passing the AppVeyor tests.
Loguru doesn't compile on Haiku, which is a "generally" complete Posix platform - but with some addons missing, like thread naming.
Most of the thread naming is protected with
#if MACOS and #elif BSD and LINUX
platform branches, however some of these blocks are missing the trailing#else
to cover unsupported systems (like Haiku).This PR also simplifies
vtextprintf
with standardvsnprintf
calls, so avoids needing the WIN32 and POSIX branches. The previousvtextprintf
implementation failed on Haiku because it's missingvasprintf
.