[Issue 23869] New: ImportC: undefined identifier `isfinite`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 29 21:20:48 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23869
Issue ID: 23869
Summary: ImportC: undefined identifier `isfinite`
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: lance at lancebachmeier.com
This code
if (!R_FINITE(x)) return x;
expands to
if (!__builtin_isfinite (x)) return x;
It is fixed by adding this to the .c file:
#define __builtin_isfinite finite
--
More information about the Digitalmars-d-bugs
mailing list