Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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