Thread overview
[Issue 23632] [ImportC] undefined identifier `_Float128`
Feb 27, 2023
Iain Buclaw
Jun 01, 2023
Walter Bright
Jun 01, 2023
Lance Bachmeier
February 27, 2023
https://issues.dlang.org/show_bug.cgi?id=23632

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
June 01, 2023
https://issues.dlang.org/show_bug.cgi?id=23632

Walter Bright <bugzilla@digitalmars.com> changed:

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

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
I can't repro this. My Linux system does not have mathcalls-helper-functions.h, nor _Float128.

The current master also compiles __attribute__((__const__)).

I'm going to mark this as "worksforme". If this problem persists, feel free to reopen it, with some context.

--
June 01, 2023
https://issues.dlang.org/show_bug.cgi?id=23632

--- Comment #2 from Lance Bachmeier <lance@lancebachmeier.com> ---
(In reply to Walter Bright from comment #1)
> I can't repro this. My Linux system does not have mathcalls-helper-functions.h, nor _Float128.
> 
> The current master also compiles __attribute__((__const__)).
> 
> I'm going to mark this as "worksforme". If this problem persists, feel free to reopen it, with some context.

You must have a very old Linux system - mathcalls-helper-functions.h was added to glibc and _Float128 was added to gcc many years ago.

Anyway, as you note, __attribute__((__const__)) works and _Float128 has been
fixed in importc.h:
https://github.com/dlang/dmd/blob/master/druntime/src/importc.h#L144

It should be closed as "fixed".

--
October 22
https://issues.dlang.org/show_bug.cgi?id=23632

Lance Bachmeier <lance@lancebachmeier.com> changed:

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

--