Skip to content

Fixup building on Ubuntu 18.04#1

Open
laerreal wants to merge 1 commit intotrasz:masterfrom
laerreal:fixU18.04
Open

Fixup building on Ubuntu 18.04#1
laerreal wants to merge 1 commit intotrasz:masterfrom
laerreal:fixU18.04

Conversation

@laerreal
Copy link

@laerreal laerreal commented Sep 1, 2023

Build errors examples:

../src/utils/util.h:17:19: error: ‘isnan’ is not a member of ‘std’
         if (!std::isnan(v1) && !std::isnan(v2)) return qMin<double>(v1, v2);
                   ^~~~~
../src/tables/heightmaptablemodel.cpp:20:24: error: ‘NAN’ was not declared in this scope
             row.append(NAN);
                        ^~~

Build errors examples:

```
../src/utils/util.h:17:19: error: ‘isnan’ is not a member of ‘std’
         if (!std::isnan(v1) && !std::isnan(v2)) return qMin<double>(v1, v2);
                   ^~~~~
```

```
../src/tables/heightmaptablemodel.cpp:20:24: error: ‘NAN’ was not declared in this scope
             row.append(NAN);
                        ^~~
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant