Skip to content

Conversation

@rainers
Copy link
Member

@rainers rainers commented Jul 10, 2019

a C++ dtor gets its vtblIndex later (and might even be added twice to the vtbl)

This assert triggers when compiling druntime with a debug compiler, namely with core.stdcpp.exception.

@dlang-bot
Copy link
Contributor

dlang-bot commented Jul 10, 2019

Thanks for your pull request, @rainers!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "stable + dmd#10156"

@thewilsonator
Copy link
Contributor

Might as well target stable.

@rainers rainers force-pushed the cpp_debug_assert branch from 293ea2b to 2a6a330 Compare July 10, 2019 06:19
@rainers rainers changed the base branch from master to stable July 10, 2019 06:20
@rainers
Copy link
Member Author

rainers commented Jul 10, 2019

Might as well target stable.

Ok, done.

Copy link
Member

@WalterBright WalterBright left a comment

Choose a reason for hiding this comment

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

a C++ dtor gets its vtblIndex later (and might even be added twice to the vtbl) This assert triggers when compiling druntime with a debug compiler, namely with core.stdcpp.exception.

Please add this as a comment.

a C++ dtor gets its vtblIndex later (and might even be added twice to the vtbl)
@rainers rainers force-pushed the cpp_debug_assert branch from 2a6a330 to 2646418 Compare July 10, 2019 17:19
@rainers
Copy link
Member Author

rainers commented Jul 10, 2019

Please add this as a comment.

Amended.

@dlang-bot dlang-bot merged commit ea6bc80 into dlang:stable Jul 11, 2019
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.

4 participants