Skip to content

use of non-POSIX __compar_fn_t #369

@gdt

Description

@gdt

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!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions