Skip to content

missing isinf #10

@silviafranceschi

Description

@silviafranceschi

For ubuntu linux compilation in
src/saga_core/saga_gui/wksp_map_layer.cpp
I get an error about the missing definition of isinf.

After some checks I added to the file the definition portion:

#ifdef _SAGA_MSW
#define isinf(x) (!_finite(x))
#else
#define isinf(x) (!finite(x))
#endif

After that it compiles. Not sure if instead me.h should be included.

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