Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Pull 339 first-aid or Fix ambiguous main address selection. #348

Merged
merged 2 commits into from
Nov 15, 2012

Conversation

denis-sh
Copy link
Contributor

Such ambiguous main address selection compiles only because of Issue 9027 and works correctly by pure accident.

Also added full workaround for Issue 9028 in the second commit.

Such ambiguous `main` address selection compiles only because of Issue 9027 and works correctly by pure accident.

* Issue 9027 URL: http://d.puremagic.com/issues/show_bug.cgi?id=9027
* Causing commit from pull dlang#339: 278968f.
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
alexrp pushed a commit that referenced this pull request Nov 15, 2012
Pull 339 first-aid or Fix ambiguous `main` address selection.
@alexrp alexrp merged commit d9b4c3e into dlang:master Nov 15, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants