Bug 17787 – Add a BetterC predefined version so libraries can adapt

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-08-27T10:04:27Z
Last change time
2017-10-16T09:57:41Z
Keywords
betterC, spec
Assigned to
No Owner
Creator
ZombineDev
See also
https://issues.dlang.org/show_bug.cgi?id=17786

Comments

Comment #0 by petar.p.kirov — 2017-08-27T10:04:27Z
Currently libraries have no way of knowing if they are compiled with `-betterC` and have no way to disable or adapt parts of their functionality for this mode.
Comment #1 by bugzilla — 2017-09-10T21:54:59Z
Comment #2 by bugzilla — 2017-09-10T22:13:12Z
Comment #3 by github-bugzilla — 2017-09-10T22:45:18Z
Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/ca27ec4de2f7054aab3ae1fd5aae21639952bf26 Merge pull request #7132 from WalterBright/D_betterC fix Issue 17787 - Add a BetterC predefined version so libraries can adapt merged-on-behalf-of: Sebastian Wilzbach <[email protected]>
Comment #4 by github-bugzilla — 2017-09-10T22:46:22Z
Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/30f3b8e062b0a497aa45368fdc35757851cbf0df fix Issue 17787 - Add a BetterC predefined version so libraries can adapt https://github.com/dlang/dlang.org/commit/0eaa9c4c303342a169defbd3c8cbc1d20eb35743 Merge pull request #1892 from WalterBright/D_betterC fix Issue 17787 - Add a BetterC predefined version so libraries can a…
Comment #5 by github-bugzilla — 2017-10-16T09:57:35Z
Commits pushed to stable at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/30f3b8e062b0a497aa45368fdc35757851cbf0df fix Issue 17787 - Add a BetterC predefined version so libraries can adapt https://github.com/dlang/dlang.org/commit/0eaa9c4c303342a169defbd3c8cbc1d20eb35743 Merge pull request #1892 from WalterBright/D_betterC
Comment #6 by github-bugzilla — 2017-10-16T09:57:41Z
Commit pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/ca27ec4de2f7054aab3ae1fd5aae21639952bf26 Merge pull request #7132 from WalterBright/D_betterC