[MDEV-21050] warning: 'finite' is deprecated: first deprecated in macOS 10.9 Created: 2019-11-11 Updated: 2019-11-19 Resolved: 2019-11-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.30 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexey Bychko (Inactive) | Assignee: | Vladislav Lesin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
|
| Comments |
| Comment by Alexey Bychko (Inactive) [ 2019-11-13 ] | ||||||||||||||||
|
isfinite() is a macros in C99 and a function is c++ 11, so atm isfinite is always undefined. so, defines are not correct with c++11 | ||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2019-11-13 ] | ||||||||||||||||
|
is may be required to make a fix in CS first, because that check for isfinite definition was added 11 years ago | ||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2019-11-13 ] | ||||||||||||||||
|
possible fix in my_global.h (requires additional checks)
checks in config.h.cmake:
checks in configure.cmake:
| ||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2019-11-15 ] | ||||||||||||||||
|
this fix removes a lot of garbage output during compilation on MacOS and makes the log readable |