Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation fixes #3917

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

compilation fixes #3917

wants to merge 3 commits into from

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Dec 9, 2023

No description provided.

The former is deprecated and unavailable if POSIX_C_SOUCE==200811L.

Signed-off-by: Rosen Penev <[email protected]>
Apparently qsort_r is a macro now. Check for it.

Signed-off-by: Rosen Penev <[email protected]>
Based on various compilation flags, MinGW uses either gnu_printf or
printf (really ms_printf) internally which confuses the compiler when
encountering gnu formats. OTOH, clang under MinGW does not support
gnu_printf.

Just use the macro to handle this mess.

Also remove macro that was originally used to work around this. It's
wrong and should not be used.

Signed-off-by: Rosen Penev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant