Thread overview
[Issue 23869] ImportC: undefined identifier `isfinite`
Apr 29, 2023
Lance Bachmeier
Apr 30, 2023
Walter Bright
Apr 30, 2023
Walter Bright
Apr 30, 2023
Dlang Bot
Apr 30, 2023
Dlang Bot
April 29, 2023
https://issues.dlang.org/show_bug.cgi?id=23869

--- Comment #1 from Lance Bachmeier <lance@lancebachmeier.com> ---
The compilation error message is

Error: undefined identifier `__builtin_isfinite`

--
April 30, 2023
https://issues.dlang.org/show_bug.cgi?id=23869

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23867

--
April 30, 2023
https://issues.dlang.org/show_bug.cgi?id=23869

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC
                 CC|                            |bugzilla@digitalmars.com

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
https://github.com/dlang/dmd/pull/15147

--
April 30, 2023
https://issues.dlang.org/show_bug.cgi?id=23869

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@bachmeil updated dlang/dmd pull request #15147 "Fix 23867 and 23869" fixing this issue:

- Fix issues 23867 and 23869 - define __builtin_isfinite and __builtin_isnan

  These GNU C builtins are referenced by macros such as:
  * ISNAN
  * R_FINITE

https://github.com/dlang/dmd/pull/15147

--
April 30, 2023
https://issues.dlang.org/show_bug.cgi?id=23869

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #15147 "Fix 23867 and 23869" was merged into master:

- 812fd8a5fa5fb04c5d48e10a57905d5a39f39f13 by Lance Bachmeier:
  Fix issues 23867 and 23869 - define __builtin_isfinite and __builtin_isnan

  These GNU C builtins are referenced by macros such as:
  * ISNAN
  * R_FINITE

https://github.com/dlang/dmd/pull/15147

--