Thanks to visit codestin.com
Credit goes to github.com

Skip to content

error: ordered comparison of function pointers #28

@yurivict

Description

@yurivict

Build breaks:

/usr/ports/graphics/foxotron/work/Foxotron-2022-11-02/externals/assimp/code/Common/Assimp.cpp:78:28: error: ordered comparison of function pointers ('aiLogStreamCallback' (aka 'void (*)(const char *, char *)') and 'aiLogStreamCallback') [-Werror,-Wordered-compare-function-pointers]
        return s0.callback < s1.callback && s0.user < s1.user;
               ~~~~~~~~~~~ ^ ~~~~~~~~~~~
1 error generated.

The failure is in the assimp module due to -Werror.

We have the assimp package, it just should be used to prevent problems like this.
assimp-5.2.5 doesn't have such warning.

clang-14
FreeBSD 13.1

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