[Issue 24187] ImportC: _Float32 not defined

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 4 19:57:58 UTC 2023


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

mw <mingwu at gmail.com> changed:

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

--- Comment #13 from mw <mingwu at gmail.com> ---
Is this issue really fixed?

I just tried the latest dmd which suppose to have the fix, but it still cannot
compile s2.i and s7.i:

$ dmd --version
DMD64 D Compiler v2.106.0-beta.1


$ $ dmd s2.i
s2.i(1): Error: illegal type combination
s2.i(1): Error: missing comma or semicolon after declaration of `_Float32`,
found `cacosf32` instead
s2.i(1): Error: illegal type combination
s2.i(1): Error: missing comma or semicolon after declaration of `_Float32`,
found `__cacosf32` instead
s2.i(2): Error: illegal type combination
s2.i(2): Error: missing comma or semicolon after declaration of `_Float32x`,
found `cacosf32x` instead
s2.i(2): Error: illegal type combination
s2.i(2): Error: missing comma or semicolon after declaration of `_Float32x`,
found `__cacosf32x` instead


$ dmd s7.i
/usr/include/x86_64-linux-gnu/bits/cmathcalls.h(55): Error: illegal type
combination
/usr/include/x86_64-linux-gnu/bits/cmathcalls.h(55): Error: missing comma or
semicolon after declaration of `_Float32`, found `cacosf32` instead
/usr/include/x86_64-linux-gnu/bits/cmathcalls.h(55): Error: illegal type
combination
/usr/include/x86_64-linux-gnu/bits/cmathcalls.h(55): Error: missing comma or
semicolon after declaration of `_Float32`, found `__cacosf32` instead
/usr/include/x86_64-linux-gnu/bits/cmathcalls.h(57): Error: illegal type
combination
...

--


More information about the Digitalmars-d-bugs mailing list