[Issue 24187] ImportC: _Float32 not defined
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 11 04:40:03 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24187
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #16 from Walter Bright <bugzilla at digitalmars.com> ---
Rename s2.i to s2.c and it will compile.
The reason is that .c files are first sent through the C preprocessor, which
automatically #include's importc.h, which contains the macro for _Float32.
--
More information about the Digitalmars-d-bugs
mailing list