[Issue 23632] [ImportC] undefined identifier `_Float128`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 1 11:16:33 UTC 2023


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

--- Comment #2 from Lance Bachmeier <lance at 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".

--


More information about the Digitalmars-d-bugs mailing list