Can we use "ImportC" used yet?
jfondren
julian.fondren at gmail.com
Sun Oct 17 03:52:09 UTC 2021
On Sunday, 17 October 2021 at 03:38:43 UTC, data pulverizer wrote:
> 2. Run the commands:
>
> ```
> gcc -E -P test_og.c > test_c.c
> dmd test.d test_c.c && ./test
> ```
>
> which works. Now I've tried the same thing with library `fftw3`
> and getting:
>
> ```
> Error: undefined identifier `__float128`
> ```
>
> Which I guess I have to define somehow in the original c
> directives?
Yep, you have to look at test_c.c and fine the line with that
error and decide what to do about it.
More information about the Digitalmars-d-learn
mailing list