ImportC and #include files
bachmeier
no at spam.net
Mon May 8 14:36:10 UTC 2023
On Monday, 8 May 2023 at 13:22:44 UTC, jmh530 wrote:
> I was able to get nlopt's tutorial example working with
> importC. I can write a bit more up later.
>
> The only thing that I wasn't able to get working was using the
> HUGE_VAL macro in math.h. Would anyone else be able to confirm
> if they are able to get that working?
In the .c file or the .d file? If in the .d file, you'll need to
use core.stdc.math.HUGE_VAL. If in the .c file, it's a bug.
More information about the Digitalmars-d
mailing list