digitalmars.D.bugs - [Issue 23869] New: ImportC: undefined identifier `isfinite`
- d-bugmail puremagic.com (20/20) Apr 29 2023 https://issues.dlang.org/show_bug.cgi?id=23869
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 puremagic.com Reporter: lance 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 --
Apr 29 2023