Skip to content

fix Issue 17787 - Add a BetterC predefined version so libraries can a…#1892

Merged
wilzbach merged 1 commit intodlang:masterfrom
WalterBright:D_betterC
Sep 10, 2017
Merged

fix Issue 17787 - Add a BetterC predefined version so libraries can a…#1892
wilzbach merged 1 commit intodlang:masterfrom
WalterBright:D_betterC

Conversation

@WalterBright
Copy link
Member

…dapt

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Description
17787 Add a BetterC predefined version so libraries can adapt

Copy link
Contributor

@wilzbach wilzbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would help the git diff to avoid mixing unrelated changes into the same commit in the future ;-)

$(LI `ModuleInfo` is not generated.)

$(LI $(LINK2 http://dlang.org/phobos/object.html#.TypeInfo, `TypeInfo`)
instances will not be generated for structs.)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW we seem to have to lists of effects of -betterC:

https://dlang.org/dmd.html#switch-betterC
https://dlang.org/spec/betterc.html#consequences

Might be worthwhile to merge them at some point.

@wilzbach wilzbach merged commit 0eaa9c4 into dlang:master Sep 10, 2017
@WalterBright WalterBright deleted the D_betterC branch September 10, 2017 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants