[Issue 9028] `main` is trated sometimes as having C calling convention and sometimes as having D convention

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 15 06:59:25 PST 2012


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



--- Comment #4 from github-bugzilla at puremagic.com 2012-11-15 06:59:22 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/d171d502d6cb1420140053267cb51989b0f2d07e
Add full workaround for Issue 9028.

Mark D main as `extern(C)` and use its symbol name to workaround Issue 9028.
Also add comments about `D main` type and actual calling convention.

* Issue 9028 URL: http://d.puremagic.com/issues/show_bug.cgi?id=9028

-- 
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