Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extern(C++) class RTTI #19438

Open
dlangBugzillaToGithub opened this issue May 21, 2018 · 2 comments
Open

extern(C++) class RTTI #19438

dlangBugzillaToGithub opened this issue May 21, 2018 · 2 comments
Labels
Feature:extern (C/C++/Obj-C) interfacing to C, C++, Objective-C code P4 Severity:Enhancement

Comments

@dlangBugzillaToGithub
Copy link

Manu reported this on 2018-05-21T20:59:29Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=18893

CC List

Description

We need to reserve vtable slot -1 and insert the C++ typeinfo when generating extern(C++) classes.
@dlangBugzillaToGithub
Copy link
Author

doob (@jacob-carlborg) commented on 2019-05-15T11:01:43Z

I would really like this as well. To be able to inspect the dynamic type in the debugger.

This applies to all platforms. Seems to be a problem with LDC as well.

@dlangBugzillaToGithub
Copy link
Author

turkeyman commented on 2019-05-19T05:13:21Z

I think this is actually a severe issue and should be fixed urgently.
It tends to crash debuggers instantly.

@thewilsonator thewilsonator added the Feature:extern (C/C++/Obj-C) interfacing to C, C++, Objective-C code label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:extern (C/C++/Obj-C) interfacing to C, C++, Objective-C code P4 Severity:Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants