November 15, 2012 [D-runtime] [D-Programming-Language/druntime] febee4: Fix ambiguous `main` address selection. | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/druntime Commit: febee4fceb4e3c35920c6ec1841646b817e012bb https://github.com/D-Programming-Language/druntime/commit/febee4fceb4e3c35920c6ec1841646b817e012bb Author: Denis Shelomovskij <verylonglogin.reg@gmail.com> Date: 2012-11-15 (Thu, 15 Nov 2012) Changed paths: M src/rt/dmain2.d Log Message: ----------- Fix ambiguous `main` address selection. 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 #339: 278968f5029f0cc9137a0d21c641d64604674be2. Commit: d171d502d6cb1420140053267cb51989b0f2d07e https://github.com/D-Programming-Language/druntime/commit/d171d502d6cb1420140053267cb51989b0f2d07e Author: Denis Shelomovskij <verylonglogin.reg@gmail.com> Date: 2012-11-15 (Thu, 15 Nov 2012) Changed paths: M src/rt/dmain2.d Log Message: ----------- 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 Commit: d9b4c3eedfebb7ff8e018540991d46d4b95b6dd7 https://github.com/D-Programming-Language/druntime/commit/d9b4c3eedfebb7ff8e018540991d46d4b95b6dd7 Author: Alex Rønne Petersen <alex@lycus.org> Date: 2012-11-15 (Thu, 15 Nov 2012) Changed paths: M src/rt/dmain2.d Log Message: ----------- Merge pull request #348 from denis-sh/fix-pull-339 Pull 339 first-aid or Fix ambiguous `main` address selection. Compare: https://github.com/D-Programming-Language/druntime/compare/b524769a1e33...d9b4c3eedfeb |
Copyright © 1999-2021 by the D Language Foundation