Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

core.stdcpp.typeinfo: Use extern(C++, class) struct for the internal class type_info for CppRuntime_Gcc #3559

Merged
merged 1 commit into from
Aug 24, 2021
Merged

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Aug 24, 2021

Pulled from #3552. Opaque classes still have their .init symbol added to ModuleInfo when the module is compiled, but because it is opaque, this symbol is never defined either. So switching it to a struct avoids any subsequent linker errors.

@ibuclaw ibuclaw added Blocking Other Work Bug Fix Include reference to corresponding bugzilla issue labels Aug 24, 2021
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

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 run digger -- build "master + druntime#3559"

@dlang-bot dlang-bot merged commit 3229912 into dlang:master Aug 24, 2021
@ibuclaw ibuclaw deleted the cpp-internal-typeinfo branch August 25, 2021 04:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Blocking Other Work Bug Fix Include reference to corresponding bugzilla issue core.stdcpp stdcpp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants