Skip to content

Does not compile on ubuntu #16

@kvpster

Description

@kvpster

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

I have compiled the module only when I changed this file:

diff --git a/src/spatialite/deps/geos/config/linux/x64/geos/platform.h b/src/spatialite/deps/geos/config/linux/x64/geos/platform.h
index ed641c0..4752f97 100644
--- a/src/spatialite/deps/geos/config/linux/x64/geos/platform.h
+++ b/src/spatialite/deps/geos/config/linux/x64/geos/platform.h
@@ -85,7 +85,7 @@ extern "C"
 #endif

 #if defined(HAVE_ISNAN)
-# define ISNAN(x) (isnan(x))
+# define ISNAN(x) (std::isnan(x))
 #else
 # if defined(_MSC_VER)
 #  define ISNAN(x) _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