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

use of non-POSIX __compar_fn_t #369

Closed
gdt opened this issue Jan 4, 2022 · 1 comment
Closed

use of non-POSIX __compar_fn_t #369

gdt opened this issue Jan 4, 2022 · 1 comment

Comments

@gdt
Copy link

gdt commented Jan 4, 2022

The source uses __compar_fn_t, which is not specified by POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/functions/qsort.html

At least on NetBSD, this is not defined (not a bug, since POSIX doesn't specify it).

An example of how this was addressed in other software is https://pubs.opengroup.org/onlinepubs/9699919799/functions/qsort.html

(Other than this, running cmake and make -k on NetBSD 9, this is the only issue so far -- which is great!)

@gdt gdt changed the title use of non-POSIX __compare_fn_t use of non-POSIX __compar_fn_t Jan 4, 2022
@wb2osz
Copy link
Owner

wb2osz commented May 19, 2023

I don't see that in the source code anymore in the dev branch.
I guess i fixed it and forgot to close this.

@wb2osz wb2osz closed this as completed May 19, 2023
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

No branches or pull requests

2 participants