Skip to content

error: called object type 'unsigned int' is not a function or function pointer #220

Description

@yurivict
In file included from /wrkdirs/usr/ports/graphics/photoflow/work/PhotoFlow-8472024f/src/vips/gmic/gmic/src/gmic.cpp:1964:
In file included from /wrkdirs/usr/ports/graphics/photoflow/work/PhotoFlow-8472024f/src/vips/gmic/gmic/src/gmic.h:152:
In file included from /usr/include/c++/v1/locale:181:
In file included from /usr/include/c++/v1/__locale:14:
In file included from /usr/include/c++/v1/string:506:
In file included from /usr/include/c++/v1/string_view:175:
In file included from /usr/include/c++/v1/__string:57:
/usr/include/c++/v1/algorithm:2626:12: error: called object type 'unsigned int' is not a function or function pointer
    return __comp(__a, __b) ? __b : __a;
           ^~~~~~
/wrkdirs/usr/ports/graphics/photoflow/work/PhotoFlow-8472024f/src/vips/gmic/gmic/src/./CImg.h:32846:63: note: in instantiation of function template specialization 'std::__1::max<unsigned int, unsigned int>' requested here
      const float nboxsize = boxsize>=0?boxsize:-boxsize*std::max(_width,_height,_depth)/100;
                                                              ^
1 error generated.

Log: http://beefy18.nyi.freebsd.org/data/head-amd64-default/p549547_s365984/logs/photoflow-0.2.8.20200828.log (IPv6 URL)

Revision 8472024
FreeBSD 12.2
clang-10

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