Skip to content

error: call of overloaded ‘isnan(double&)’ is ambiguous #14

@doublesharp

Description

@doublesharp

I was unable to install the module on my CentOS7 machine with the error: error:

call of overloaded ‘isnan(double&)’ is ambiguous

My C++ skills leave alot to be desired, but I think the issue is that isnan() was added to a recent version and there is now a conflict. By editing the file /src/spatialite/deps/geos/config/linux/ia32/geos/platform.h and change line 88 from:

# define ISNAN(x) (isnan(x))

to:

# define ISNAN(x) (std::isnan(x))

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