[MDEV-9308] Fix build errors with recent gcc (isfinite) Created: 2015-12-21 Updated: 2016-02-29 Resolved: 2016-02-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 5.5.47, 10.0.23, 10.1.9 |
| Fix Version/s: | 10.0.24, 10.1.12 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Daniel Black | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Sprint: | 5.5.48-0 | ||||||||
| Description |
|
|
| Comments |
| Comment by Daniel Black [ 2015-12-21 ] |
|
include/my_global.h my_isfinite from MySQL-5.7 is worth looking at too. |
| Comment by Daniel Black [ 2015-12-21 ] |
|
As luck would have it, 5.2 complains if we use std::isfinite(): /home/anton/mariadb-server/sql/item_func.h:235:17: error: expected And 6.0 complains if we use isfinite(): /home/anton/mariadb-server/sql/item_func.h:235:26: error: ‘isfinite’ |
| Comment by Sergei Golubchik [ 2016-02-04 ] |
|
Is gcc-6.0 the only compiler that complains about isfinite? |