[Issue 9710] Pointer enums crash dmd

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 14 07:08:11 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9710



--- Comment #3 from NCrashed at gmail.com 2013-03-14 07:08:09 PDT ---
(In reply to comment #2)
> If you port C code them maybe you want to write:
> 
> 
> __gshared long gi;

It is doesn't matter, this code doesn't have sence in D, enums are calculated
in compile time, but preprocessor just pastes code in C.

When porting C code, it is very difficult to find such error due dmd just
crashes without any message.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list