-
Notifications
You must be signed in to change notification settings - Fork 10
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
Cannot use D struct/class in QList #116
Comments
Unless this is really blocking, this won't be high priority, making Clang aware of D structs and classes may not be easy at all to implement and I wasn't planning to experiment on it until later. Not being able to use D classes/structs with Qt templates makes |
It's not blocking. I'm porting some existing C++ code to D. So I can change the QList uses to D arrays instead. And use QList with C++ structs/classes until I'm able to port them. I saw a project to have dmd generate C++ headers. Could it make it easier? At least for extern(C++)? |
This is not strictly related to the template issue: I've ported a few thousand lines, and so far the most infuriating annoyance, is that stack trace. It always happens in cpp::DeclMapper::toType->clang::ASTContext::getRecordType. I would really like an error instead with a line number. |
… D structs/classes/enums), error with source locations instead of segfaulting/triggering asserts. While waiting for possible experimentations for complete resolution (?) of #116, this will be a bit less crude.
The text was updated successfully, but these errors were encountered: