importc and stb

bachmeier no at spam.net
Thu Dec 16 20:56:26 UTC 2021


On Thursday, 16 December 2021 at 19:00:20 UTC, bachmeier wrote:

> So over lunch I decided to take another look. I downloaded 
> Ian's fixes as fixes.h and then did
>
> ```
> gcc -E -P stb_ds.h > stb_ds_d.c
> gcc -E -P -include fixes.h stb_ds_d.c > stb_ds_d2.c
> ldmd2 -c stb_ds_d2.c
> ```
>
> Compiled without any error messages or warnings.

Since I'm looking for an opportunity to procrastinate, I created 
a repo. One file still results in errors from LDC. The others all 
compile.

https://github.com/bachmeil/stb


More information about the Digitalmars-d mailing list