September 20, 2017 [Issue 17747] extern(C) shared static module constructor should be called in betterC programs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17747 --- Comment #11 from anonymous4 <dfj1esp02@sneakemail.com> --- (In reply to Steven Schveighoffer from comment #10) > There is also no other precedent where a compiled D program only works properly if you link in the correct order. Issue 7063 -- |
September 20, 2017 [Issue 17747] extern(C) shared static module constructor should be called in betterC programs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17747 --- Comment #12 from Steven Schveighoffer <schveiguy@yahoo.com> --- (In reply to anonymous4 from comment #11) > (In reply to Steven Schveighoffer from comment #10) > > There is also no other precedent where a compiled D program only works properly if you link in the correct order. > > Issue 7063 So that program works properly if you link in a different order? -- |
September 21, 2017 [Issue 17747] extern(C) shared static module constructor should be called in betterC programs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17747 --- Comment #13 from anonymous4 <dfj1esp02@sneakemail.com> --- Looks like it. -- |
September 21, 2017 [Issue 17747] extern(C) shared static module constructor should be called in betterC programs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17747 --- Comment #14 from Steven Schveighoffer <schveiguy@yahoo.com> --- Changing the link order does nothing, because there is one file. In other words, issue 7063 is a bug, no matter how you build it. It shouldn't build (hence accepts-invalid). This proposal is different -- if you link in one order, it will work as expected. Change that order, and it will blow up. IMO, we should not introduce this kind of problem. -- |
September 21, 2017 [Issue 17747] extern(C) shared static module constructor should be called in betterC programs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17747 --- Comment #15 from anonymous4 <dfj1esp02@sneakemail.com> --- (In reply to Steven Schveighoffer from comment #14) > Changing the link order does nothing, because there is one file. It requires two files to work. > In other words, issue 7063 is a bug, no matter how you build it. It shouldn't build (hence accepts-invalid). But for D abi it would build and just work. -- |
October 02, 2017 [Issue 17747] extern(C) shared static module constructor should be called in betterC programs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17747 anonymous4 <dfj1esp02@sneakemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=17868 --- Comment #16 from anonymous4 <dfj1esp02@sneakemail.com> --- Issue 17868 - proposal with priorities. -- |
October 03, 2017 [Issue 17747] extern(C) shared static module constructor should be called in betterC programs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17747 Martin Nowak <code@dawg.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |code@dawg.eu --- Comment #17 from Martin Nowak <code@dawg.eu> --- Walters take on this was to simply run `shared static ctors/dtors` in betterC. https://github.com/dlang/dmd/pull/6956 -- |
February 16, 2018 [Issue 17747] extern(C) shared static module constructor should be called in betterC programs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17747 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution|--- |FIXED --- Comment #18 from Walter Bright <bugzilla@digitalmars.com> --- resolved by https://github.com/dlang/dmd/pull/7182 -- |
Copyright © 1999-2021 by the D Language Foundation