importc and stb
no at spam.net
Sun Dec 19 16:37:40 UTC 2021
On Thursday, 16 December 2021 at 20:56:26 UTC, bachmeier wrote:
> 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.
All but two functions in stb compile. Repo has been updated with
the preprocessed C files in the unmodified/ directory.
More information about the Digitalmars-d