[Issue 24121] ImportC: typedef enum fails to compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 2 09:59:10 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24121

--- Comment #2 from Adam Wilson <flyboynw at gmail.com> ---
(In reply to Rory from comment #1)
> I came here to report a similar issue with typedef enums but my code now
> works. I tried the enum posted here and the code compiles fine for me.
> 
> Do you know which version of DMD this segfault was in?
> 
> I'm using linux DMD64 D Compiler v2.105.0.

I am using Windows DMD64 2.105 and I just verified the segfault.

The commandline used is: dmd sql.i -Hf=sql.di -verrors=0 -main

If I remove the -Hf=sql.di switch then it works.

--


More information about the Digitalmars-d-bugs mailing list